Deuteronomy 18:9-12; Deuteronomy 18:15

9 When you enter the land the LORD your God is giving you, do not learn to imitate the detestable ways of the nations there. 10 Let no one be found among you who sacrifices their son or daughter in the fire, who practices divination or sorcery, interprets omens, engages in witchcraft, 11 or casts spells, or who is a medium or spiritist or who consults the dead. 12 Anyone who does these things is detestable to the LORD; because of these same detestable practices the LORD your God will drive out those nations before you.
15 The LORD your God will raise up for you a prophet like me from among you, from your fellow Israelites. You must listen to him.