International Standard Version
1 "A prophet or a diviner of dreams may arise among you, give you an omen or a miracle 2that takes place, and then he may tell you, 'Let's follow other gods (whom you have not known) and let's serve them.' Even though the sign or portent comes to pass, 3you must not listen to the words of that prophet or that diviner of dreams. For the LORD your God is testing you, to make known whether or not you'll continue to love the LORD your God with all your heart and soul. 4You must follow the LORD your God, fear him, observe his commandments, listen to his voice, serve him, and cling to him. 5That prophet or diviner of dreams must be executed, because he advocated rebellion against the LORD your God, who brought you from the land of Egypt and redeemed you from the house of slavery, and because he lured you from the way in which the LORD your God instructed you to live. Purge the evil from among you."
6"Your own blood brother, your son, your daughter, your beloved wife, or your friend who is like your soul mate may entice you quietly. He may tell you, 'Let's go and serve other gods,' (whom neither you nor your ancestors have known 7from the gods of the people that surround you—whether near or far from you—from one end of the earth to the other). 8You must not yield to him, listen to him, look with pity on him, show compassion to him, or even cover up for him. 9But you must surely execute him. You must be the first to put him to death with your own hand, and then the hands of the whole community. 10Stone him to death, because he sought to lure you from the LORD your God who brought you from the land of Egypt, from the land of slavery. 11Then all Israel will hear about it, be afraid, and won't do this evil thing again among you.
12"You may hear in one of your towns that the LORD your God is giving you to inhabit 13that worthless men have come from among you to entice those who live in the towns. They may say, 'Let's go and serve other gods that you haven't known.' 14You must thoroughly investigate and inquire if it is true that this detestable thing exists among you. If it is so, 15then put the inhabitants of the town to death by the sword. Devote everything in it to divine destruction—even its livestock—by the sword. 16Gather whatever you've taken as spoils at the public square of the town, then burn the town, along with whatever you've taken, as an offering to the LORD your God. It will remain a permanent mound of ruins, never to be rebuilt again. 17Moreover, you must never take any item from those condemned things, so the LORD may yet relent from his burning anger and extend compassion, have mercy, and cause you to increase in number—as he promised by an oath to your ancestors— 18if you obey the voice of the LORD your God by observing all his commands that I'm commanding you today. Do what is right in the sight of the LORD your God."