Deuteronomy 18:9-22

Communicating with God

9 Once you enter the land that the LORD your God is giving you, don't try to imitate the detestable things those nations do.
10 There must not be anyone among you who passes his son or daughter through fire; who practices divination, is a sign reader, fortune-teller, sorcerer,
11 or spell caster; who converses with ghosts or spirits or communicates with the dead.
12 All who do these things are detestable to the LORD! It is on account of these detestable practices that the LORD your God is driving these nations out before you.
13 Instead, you must be perfect before the LORD your God.
14 These nations you are displacing listened to sign readers and diviners, but the LORD your God doesn't permit you to do the same!
15 The LORD your God will raise up a prophet like me from your community, from your fellow Israelites. He's the one you must listen to.
16 That's exactly what you requested from the LORD your God at Horeb, on the day of the assembly, when you said, "I can't listen to the LORD my God's voice anymore or look at this great fire any longer. I don't want to die!"
17 The LORD said to me: What they've said is right.
18 I'll raise up a prophet for them from among their fellow Israelites—one just like you. I'll put my words in his mouth, and he will tell them everything I command him.
19 I myself will hold accountable anyone who doesn't listen to my words, which that prophet will speak in my name.
20 However, any prophet who arrogantly speaks a word in my name that I haven't commanded him to speak, or who speaks in the name of other gods—that prophet must die.
21 Now, you might be wondering, How will we know which word God hasn't spoken?
22 Here's the answer: The prophet who speaks in the LORD's name and the thing doesn't happen or come about—that's the word the LORD hasn't spoken. That prophet spoke arrogantly. Don't be afraid of him.