18 I will raise up for them a prophet like you from among their brothers. And I will put my words in his mouth, and vhe shall speak to them all that I command him. 19 And whoever will not listen to my words that he shall speak in my name, I myself will require it of him. 20 But the prophet who presumes to speak a word in my name that I have not commanded him to speak, or1 who speaks in the name of other gods, wthat same prophet shall die.’ 21 And if you say in your heart, ‘How may we know the word that the Lord has not spoken?’— 22 when a prophet speaks in the name of the Lord, if the word does not come to pass or come true, that is a word that the Lord has not spoken; the prophet has spoken it presumptuously. You need not be afraid of him.
1 “If a prophet or a dreamer of dreams arises among you and gives you a zsign or a wonder, 2 and the sign or wonder that he tells you comes to pass, and if he says, ‘Let us go after other gods,’ which you have not known, ‘and let us serve them,’ 3 you shall not listen to the words of that prophet or that dreamer of dreams. For the Lord your God is atesting you, to know whether you blove the Lord your God with all your heart and with all your soul. 4 You shall walk after the Lord your God and fear him and keep his commandments and obey his voice, and you shall serve him and hold fast to him. 5 But that prophet or that dreamer of dreams cshall be put to death, because he has dtaught rebellion against the Lord your God, who brought you out of the land of Egypt and redeemed you out of the house of slavery, to make you leave the way in which the Lord your God commanded you to walk. eSo you shall fpurge the evil1 from your midst.