1 If a prophet or a dreamer of dreams stands up in your midst and gives you a sign or wonder,
2 And the sign or the wonder occurs, about which he spoke to you, saying, Let us go after other gods whom you have not known, and let us serve them;
3 You shall not listen to the words of that prophet or to that dreamer of dreams; for Jehovah your God is testing you in order to know whether you love Jehovah your God with all your heart and with all your soul.
4 You shall follow Jehovah your God; and you shall fear Him, keep His commandments, listen to His voice, serve Him, and hold fast to Him.
5 But that prophet or that dreamer of dreams shall be put to death, because he has advocated apostasy from Jehovah your God, who brought you out of the land of Egypt and ransomed you from the slave house, in order to force you out of the way in which Jehovah your God has commanded you to walk. Thus you shall utterly remove the evil from your midst.
6 If your brother, the son of your mother, or your son or daughter, or the wife of your bosom, or your friend who is like your own soul to you entice you secretly, saying, Let us go and serve other gods (which neither you nor your fathers have known,
7 Of the gods of the peoples who are surrounding you, those who are near you or those who are far from you, from one end of the earth to the other);
8 You shall not yield to him nor listen to him, nor shall your eye pity him; neither shall you spare him nor conceal him;
9 But you must slay him; your hand shall be first against him to put him to death, and afterward the hand of all the people.
10 And you shall stone him with stones so that he dies, because he sought to force you away from Jehovah your God, who brought you out of the land of Egypt, out of the slave house.
11 And all Israel will hear and will fear and will never do anything like this evil thing in your midst again.
12 If you hear in one of your cities, which Jehovah your God is giving you to dwell in, someone saying that
13 Some worthless men have gone out from your midst and have forced the inhabitants of their city, saying, Let us go and serve other gods (which you have not known);
14 Then you shall investigate and examine carefully and inquire thoroughly. And if indeed the thing is true and certain – this abomination has been done in your midst –
15 You must slay the inhabitants of that city with the edge of the sword, utterly destroying it and all that is in it and its animals with the edge of the sword.
16 And all its spoil you shall gather at the middle of its open square, and you shall burn the city and all its spoil with fire wholly to Jehovah your God. And it shall be a mound only forever; it shall not be built again.
17 And nothing of what has been cursed shall cling to your hand, in order that Jehovah may turn from His burning anger and show you tenderness and be compassionate to you and multiply you as He swore to your fathers,
18 When you listen to the voice of Jehovah your God and keep all His commandments, which I am commanding you today, and do what is right in the sight of Jehovah your God.