2 Kings 23:24 References

24 Moreover, Josiah removed athe mediums and the spiritists and the bteraphim and cthe idols and all the abominations that were seen in the land of Judah and in Jerusalem, dthat he might confirm the words of the law which were written ein the book that Hilkiah the priest found in the house of the Lord.

d Deuteronomy 18:10-22


Deuteronomy 18

10 "There shall not be found among you anyone awho makes his son or his daughter pass through the fire, one who uses divination, one bwho practices witchcraft, or one who interprets omens, or a sorcerer,
11 or one who casts a spell, aor a medium, or a spiritist, or one who calls up the dead.
12 "For whoever does these things is detestable to the Lord; and abecause of these detestable things the Lord your God will drive them out before you.
13 "aYou shall be blameless before the Lord your God.
14 "For those nations, which you shall dispossess, listen to those who apractice witchcraft and to diviners, but as for you, the Lord your God has not allowed you to do so.
15 "aThe Lord your God will raise up for you a prophet like me from among you, from your countrymen, you shall listen to him.
16 "This is aaccording to all that you asked of the Lord your God in Horeb on the day of the assembly, saying, 'Let me not hear again the voice of the Lord my God, let me not see this great fire anymore, or I will die.'
17 "aThe Lord said to me, 'They have spoken well.
18 'I will raise up a prophet from among their countrymen like you, and aI will put My words in his mouth, and bhe shall speak to them all that I command him.
19 'aIt shall come about that whoever will not listen to My words which he shall speak in My name, I Myself will require it of him.
20 'But the prophet who speaks a word apresumptuously in My name which I have not commanded him to speak, or bwhich he speaks in the name of other gods, that prophet shall die.'
21 "You may say in your heart, 'How will we know the word which the Lord has not spoken?'
22 "aWhen a prophet speaks in the name of the Lord, if the thing does not come about or come true, that is the thing which the Lord has not spoken. The prophet has spoken it bpresumptuously; you shall not be afraid of him.