va-yik-b’-RU-hu v’-EER da-VEED im ha-m’-la-KHEEM kee a-SAH to-VAH b’-yis-ra-AYL v’-im ha-e-lo-HEEM u-vay-TO
טז וַיִּקְבְּרֻהוּ בְעִיר־דָּוִיד עִם־הַמְּלָכִים כִּי־עָשָׂה טוֹבָה בְּיִשְׂרָאֵל וְעִם הָאֱלֹהִים וּבֵיתוֹ׃
24:16 Because he had done good in Yisrael
Yehoyada is buried “with the kings” even though he is not a member of the royal family. He is the only outsider recorded as being buried among the kingly descendants of David, something that even some of the actual kings, such as Yehoram, did not merit. Metzudat David explains that this is part of his reward for having “done good in Yisrael” in three ways. He appointed a king from the line of David, he brought the people back to Hashem and he restored the Beit Hamikdash. Yehoyada is buried with the kings because he acted in a manner expected of a king, even to the point of risking his own life, and the lives of his family members, for the sake of God and the Nation of Israel.