1 If there arise in the midst of thee a prophet, or a dreamer of dreams, and he gives thee a sign or a wonder, 2 and the sign or the wonder comes to pass, of which he spoke to thee, saying, Let us go after other gods, which thou have not known, and let us serve them, 3 thou shall not hearken to the words of that prophet, or to that dreamer of dreams, for LORD your God proves you, to know whether ye love LORD your God with all your heart and with all your soul. 4 Ye shall walk after LORD your God, and fear him, and keep his commandments, and obey his voice, and ye shall serve him, and cling to him. 5 And that prophet, or that dreamer of dreams, shall be put to death, because he has spoken rebellion against LORD your God, who brought you out of the land of Egypt, and redeemed thee out of the house of bondage, to draw thee aside
6 If thy brother, the son of thy mother, or thy son, or thy daughter, or the wife of thy bosom, or thy friend, who is as thine own soul, entices thee secretly, saying, Let us go and serve other gods, which thou have not known, thou, 7 of the gods of the peoples that are round about you, near to thee, or far off from thee, from the one end of the earth even to the other end of the earth, 8 thou shall not consent to him, nor hearken to him. Neither shall thine eye pity him, neither shall thou spare, neither shall thou conceal him, 9 but thou shall surely kill him. Thy hand shall be first upon him to put him to death, and afterwards the hand of all the people. 10 And thou shall stone him to death with stones, because he has sought to draw thee away from LORD thy God, who brought thee out of the land of Egypt, out of the house of bondage. 11 And all Israel shall hear, and fear, and shall no more do any such wickedness as this is in the midst of thee.
12 If thou shall hear tell concerning one of thy cities, which LORD thy God gives thee to dwell there, saying, 13 Certain base fellows have gone out from the midst of thee, and have drawn away the inhabitants of their city, saying, Let us go and serve other gods, which ye have not known, 14 then thou shall inquire, and make search, and ask diligently. And, behold, if it be true, and the thing certain, that such abomination is wrought in the midst of thee, 15 thou shall surely smite the inhabitants of that city with the edge of the sword, destroying it utterly, and all that is in it, and the cattle in it, with the edge of the sword. 16 And thou shall gather all the spoil of it into the midst of the street of it, and shall burn the city with fire, and all the spoil of it, every whit, to LORD thy God, and it shall be a heap forever. It shall not be built again. 17 And nothing of the devoted thing shall cling to thy hand, that LORD may turn from the fierceness of his anger, and show thee mercy, and have compassion upon thee, and multiply thee, as he has sworn to thy fathers, 18 when thou shall hearken to the voice of LORD thy God, to keep all his commandments which I command thee this day, to do that which is right in the eyes of LORD thy God.