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.
BSB · Berean Standard Bible
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.

Note images: or, teraphim

KJV · King James Version
Moreover, 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 the Lord’s house.

Note teraphim were household idols.

WEB · World English Bible
Moreover them that had 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, 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 Jehovah.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

the workers
2 Kings 21:3, 6; 1 Samuel 28:3–7; Isaiah 8:19; Isaiah 19:3; Acts 16:16–18; Revelation 22:15
images
or, teraphim.
Genesis 31:19; Judges 17:5; Judges 18:17, 18; Hosea 3:4
that he might
Leviticus 19:31; Leviticus 20:27; Deuteronomy 18:10–12; Isaiah 8:20; Romans 3:20; James 1:25
the book
2 Kings 22:8–13; 2 Chronicles 34:14–19