2 Kings 23
NET
24 Josiah also got rid of the ritual pits used to conjure up spirits, the magicians, personal idols, disgusting images, and all the detestable idols that had appeared in the land of Judah and in Jerusalem. In this way he carried out the terms of the law recorded on the scroll that Hilkiah the priest had discovered in the Lord’s temple.
Darby
24 Moreover the necromancers and the soothsayers, and the teraphim and the idols, and all the abominations that were seen in the land of Judah and in Jerusalem, Josiah took away, that he might perform the words of the law which were written in the book that Hilkijah the priest had found in the house of Jehovah.
KJV
24 Moreover the [workers with] familiar spirits, and the wizards, and the images, and the idols, and all the abominations that were spied in the land of Judah and in Jerusalem, did Josiah put away, 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.