1If a prophet, or someone who dreams dreams, comes up among you, and gives you a sign or a wonder,
2and the sign or the wonder he told you about comes true, and he says, "Let us follow other gods, gods you have not known, and let us serve them";
3you must not listen to the words of that prophet, or that dreamer of dreams. For the LORD your God is testing you, to find out whether you love the LORD your God with all your heart and with all your soul.
4You shall follow the LORD your God, and fear him, and keep his commandments, and obey his voice. You shall serve him and hold fast to him.
5That prophet, or that dreamer of dreams, must be put to death. He has spoken to turn you away from the LORD your God, who brought you out of the land of Egypt and set you free from the house of slavery. He tried to push you off the road the LORD your God commanded you to walk in. So you shall put the evil away from among you.
6Someone may try to tempt you in secret. It may be your brother, your own mother's son, or your son, or your daughter, or the wife you love, or your friend who is as dear to you as your own soul. He may say, "Let us go and serve other gods" - gods that neither you nor your fathers have known,
7the gods of the peoples around you, whether near you or far from you, from one end of the earth to the other end of the earth.
8You shall not agree with him or listen to him. Do not let your eye pity him. Do not spare him, and do not hide him.
9You must certainly kill him. Your own hand shall be the first to put him to death, and then the hands of all the people.
10You shall stone him with stones until he dies, because he tried to drive you away from the LORD your God, who brought you out of the land of Egypt, out of the house of slavery.
11Then all Israel shall hear and be afraid, and no one among you will do such a wicked thing again.
12You may hear a report about one of your cities, which the LORD your God has given you to live in. The report may say:
13Some men, worthless men, have gone out from among you and have led the people of their city astray, saying, "Let us go and serve other gods," gods you have not known.
14Then you shall look into it, and search, and ask carefully. If it is true and certain that such a hateful thing has been done among you,
15then you must strike down the people of that city with the edge of the sword. Destroy it completely, and everyone in it, and its cattle, with the edge of the sword.
16You shall gather everything taken from it into the middle of its open square, and burn the city with fire, and all that was taken from it, every bit of it, for the LORD your God. It shall be a heap of ruins for ever. It shall never be built again.
17Nothing of what has been devoted to destruction shall stick to your hand. Then the LORD may turn from his fierce anger, and show you mercy, and have compassion on you, and make you many, as he promised your fathers with an oath,
18when you listen to the voice of the LORD your God, and keep all his commandments which I command you today, and do what is right in the eyes of the LORD your God.
