If a prophet,1 or one who foretells by dreams,2 appears among you and announces to you a miraculous sign or wonder,
and if the sign3 or wonder of which he has spoken takes place, and he says, "Let us follow other gods"4 (gods you have not known) "and let us worship them,"
you must not listen to the words of that prophet5 or dreamer.6 The LORD your God is testing7 you to find out whether you love8 him with all your heart and with all your soul.
It is the LORD your God you must follow,9 and him you must revere.10 Keep his commands and obey him; serve him and hold fast11 to him.
That prophet or dreamer must be put to death,12 because he preached rebellion against the LORD your God, who brought you out of Egypt and redeemed you from the land of slavery; he has tried to turn13 you from the way the LORD your God commanded you to follow. You must purge the evil14 from among you.
If your very own brother, or your son or daughter, or the wife you love, or your closest friend secretly entices15 you, saying, "Let us go and worship other gods"16 (gods that neither you nor your fathers have known,
gods of the peoples around you, whether near or far, from one end of the land to the other),
do not yield17 to him or listen to him. Show him no pity.18 Do not spare him or shield him.
You must certainly put him to death.19 Your hand20 must be the first in putting him to death, and then the hands of all the people.
Stone him to death, because he tried to turn you away21 from the LORD your God, who brought you out of Egypt, out of the land of slavery.
Then all Israel will hear and be afraid,22 and no one among you will do such an evil thing again.
If you hear it said about one of the towns the LORD your God is giving you to live in
that wicked men23 have arisen among you and have led the people of their town astray, saying, "Let us go and worship other gods" (gods you have not known),
then you must inquire, probe and investigate it thoroughly.24 And if it is true and it has been proved that this detestable thing has been done among you,2515
you must certainly put to the sword all who live in that town. Destroy it completely,a26 both its people and its livestock.2716
Gather all the plunder of the town into the middle of the public square and completely burn the town28 and all its plunder as a whole burnt offering to the LORD your God.29 It is to remain a ruin30 forever, never to be rebuilt.
None of those condemned thingsb shall be found in your hands, so that the LORD will turn from his fierce anger;31 he will show you mercy,32 have compassion33 on you, and increase your numbers,34 as he promised35 on oath to your forefathers,
because you obey the LORD your God, keeping all his commands that I am giving you today and doing what is right36 in his eyes.