וַיְצַו֩ יְהוֹיָדָ֨ע הַכֹּהֵ֜ן אֶת־שָׂרֵ֥י המיאות [הַמֵּא֣וֹת ׀] פְּקֻדֵ֣י הַחַ֗יִל וַיֹּ֤אמֶר אֲלֵיהֶם֙ הוֹצִ֤יאוּ אֹתָהּ֙ אֶל־מִבֵּ֣ית לַשְּׂדֵרֹ֔ת וְהַבָּ֥א אַחֲרֶ֖יהָ הָמֵ֣ת בֶּחָ֑רֶב כִּ֚י אָמַ֣ר הַכֹּהֵ֔ן אַל־תּוּמַ֖ת בֵּ֥ית יְהוָֽה׃
제사장 여호야다가 군대를 거느린 백부장들에게 명하여 가로되 반열 밖으로 몰아내라 무릇 저를 따르는 자는 칼로 죽이라 하니 제사장의 이 말은 여호와의 전에서는 저를 죽이지 말라 함이라
Rashi
and with the corpses of their kings whose houses were near the Temple, as we find with Solomon and with Athaliah. Sometimes they would bury them in the gardens of their houses, as He explains and says, “... by placing their threshold with My threshold.”