2 Kings 23 24
Josiah destroyed the mediums, wizards, the house gods, the idols, and all the horrible things people worshiped in Judah and Jerusalem. He did this to obey the law written in the book that Hilkiah the priest found in the Lord’s Temple.
Compare with other 3 random translations
YLT 2 Kings 23:24And also, those having familiar spirits, and the wizards, and the teraphim, and the idols, and all the abominations that were seen in the land of Judah, and in Jerusalem, hath Josiah put away, in order to establish the words of the law that are written on the book that Hilkiah the priest hath found in the house of Jehovah.
NKJ 2 Kings 23:24Moreover Josiah put away those who consulted mediums and spiritists, the household gods and idols, all the abominations that were seen in the land of Judah and in Jerusalem, that he might perform the words of the law which were written in the book that Hilkiah the priest found in the house of the Lord.
WEB 2 Kings 23:24Moreover, Josiah removed those who had familiar spirits, the wizards, and the teraphim, and the idols, and all the abominations that were seen in the land of Judah and in Jerusalem, that he might confirm the words of the law which were written in the book that Hilkiah the priest found in Yahweh’s house.