Deuteronomy
13 “In case a prophet or one who foretells by dreams arises in your midst and gives you a sign or a portent, 2 and the sign or the portent about which he spoke to you comes true while he is saying, ‘Let us walk after other gods, gods that you have not known, and let us serve them,’ 3 you must not listen to the words of that prophet or that dreamer,+ for Jehovah your God is testing you+ to know whether you love Jehovah your God with all your heart and all your soul.*+ 4 After Jehovah your God you should walk, him you should fear, his commandments you should keep, to his voice you should listen; he is the one you should serve, and to him you should hold fast.+ 5 But that prophet or that dreamer should be put to death,+ because he encouraged rebellion against Jehovah your God—who brought you out of the land of Egypt and redeemed you from the house of slavery—to turn you from the way in which Jehovah your God has commanded you to walk. And you must remove what is evil from your midst.+
6 “If your brother, the son of your mother, or your son or your daughter or your cherished wife or your closest companion* should try to entice you in secrecy, saying, ‘Let us go and serve other gods,’+ gods that neither you nor your forefathers have known, 7 from the gods of the peoples all around you, whether near you or those far away from you, from one end of the land to the other end of the land, 8 you must not give in to him or listen to him,+ nor should you show pity or feel compassion or protect him; 9 instead, you should kill him without fail.+ Your hand should be the first to come upon him to put him to death, and the hand of all the people afterward.+ 10 And you must stone him to death,+ because he has sought to turn you away from Jehovah your God, who has brought you out of the land of Egypt, out of the house of slavery. 11 Then all Israel will hear and become afraid, and they will never again do anything bad like this among you.+
12 “In case you hear it said in one of your cities that Jehovah your God is giving you to occupy, 13 ‘Good-for-nothing men have gone out among you to turn away the inhabitants of their city, saying: “Let us go and serve other gods,” gods that you have not known,’ 14 you should look into the matter, making a thorough investigation and inquiry;+ and if it is confirmed to be true that this detestable thing has been done among you, 15 you should without fail strike down the inhabitants of that city with the sword.+ Devote it and everything that is in it, including its livestock, to destruction+ by the sword. 16 You should then collect all its spoil into the middle of its public square and burn the city with fire, and its spoil will serve as a whole offering to Jehovah your God. It will become a permanent heap of ruins. It should never be rebuilt. 17 Your hand should take nothing that was set apart for destruction,*+ so that Jehovah may turn away from his burning anger and show you mercy and compassion and multiply you, just as he has sworn to your forefathers.+ 18 For you should obey* Jehovah your God by keeping all his commandments that I am commanding you today, thus doing what is right in the eyes of Jehovah your God.+