Prophets or those who tell the future with dreams might come to you and say they will show you a miracle or a sign. The miracle or sign might even happen, and then they might say, “Let’s serve other gods” (gods you have not known) “and let’s worship them.” But you must not listen to those prophets or dreamers. The LORD your God is testing you, to find out if you love him with your whole being. Serve only the LORD your God. Respect him, keep his commands, and obey him. Serve him and be loyal to him. The prophets or dreamers must be killed, because they said you should turn against the LORD your God, who brought you out of Egypt and saved you from the land where you were slaves. They tried to turn you from doing what the LORD your God commanded you to do. You must get rid of the evil among you.
Someone might try to lead you to serve other gods—it might be your brother, your son or daughter, the wife you love, or a close friend. The person might say, “Let’s go and worship other gods.” (These are gods that neither you nor your ancestors have known, gods of the people who live around you, either nearby or far away, from one end of the land to the other.) Do not give in to such people. Do not listen or feel sorry for them, and do not let them go free or protect them. You must put them to death. You must be the first one to start to kill them, and then everyone else must join in. You must throw stones at them until they die, because they tried to turn you away from the LORD your God, who brought you out of the land of Egypt, where you were slaves. Then everyone in Israel will hear about this and be afraid, and no one among you will ever do such an evil thing again.
The LORD your God is giving you cities in which to live, and you might hear something about one of them. Someone might say that evil people have moved in among you. And they might lead the people of that city away from God, saying, “Let’s go and worship other gods.” (These are gods you have not known.) Then you must ask about it, looking into the matter and checking carefully whether it is true. If it is proved that a hateful thing has happened among you, you must kill with a sword everyone who lives in that city. Destroy the city completely and kill everyone in it, as well as the animals, with a sword. Gather up everything those people owned, and put it in the middle of the city square. Then completely burn the city and everything they owned as a burnt offering to the LORD your God. That city should never be rebuilt; let it be ruined forever.