Berean Study Bible (BSB) - 2 Kings 23:24 >

Furthermore, Josiah removed the mediums and spiritists, the household gods and idols, and all the abominations that were seen in the land of Judah and in Jerusalem. He did this to carry out the words of the law written in the book that Hilkiah the priest had found in the house of the LORD.

Jewish Publication Society of America Version (JPS1917) - 2 Kings 23:24 >

Moreover them that divined by a ghost or a familiar spirit, and the teraphim, and the idols, and all the detestable things that were spied in the land of Judah and in Jerusalem, did Josiah put away, that he might confirm the words of the law which were written in the book that Hilkiah the priest found in the house of the LORD.