Deuteronomy 13
1When there arises among you a prophet, or a dreamer of dreams, and gives thee a sign or a wonder,2and the sign or the wonder comes to pass, of which he spoke unto thee, saying, Let us go after other gods, which thou hast not known, and let us serve them,3thou shalt not hearken unto the words of that prophet or that dreamer of dreams; for the Lord your God proves you, to know whether ye love the Lord your God with all your heart and with all your soul.4Ye shall walk after the Lord your God and fear him and keep his commandments and hear his voice, and ye shall serve him and cleave unto him.5And that prophet, or that dreamer of dreams, shall be put to death because he has spoken rebellion against the Lord your God, who brought you out of the land of Egypt and ransomed you out of the house of slavery, to thrust thee out of the way which the Lord thy God commanded thee to walk in. So shalt thou put the evil away from the midst of thee.
6If 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 should entice thee secretly, saying, Let us go and serve other gods, which thou nor thy fathers have known,7namely, of the gods of the peoples who are round about you, near unto thee or far off from thee, from the one end of the earth even unto the other end of the earth,8thou shalt not consent with him nor hearken unto him; neither shall thine eye pity him; neither shalt thou have compassion; neither shalt thou conceal him,9but thou must kill him; thy hand shall be first upon him to put him to death and afterwards the hand of all the people.10And thou must stone him with stones, and he shall die because he has sought to thrust thee away from the Lord thy God, who brought thee out of the land of Egypt from the house of slavery;11so that all Israel shall hear and fear and shall do no more any such wickedness as this is among you.
12If thou shalt hear in one of thy cities, which the Lord thy God has given thee to dwell there, that it is said,13certain men, the sons of Belial, are gone out from among you and have incited the inhabitants of their city, saying, Let us go and serve other gods, which ye have not known,14then shalt thou enquire and search and ask diligently; and, behold, if it is the truth and the thing certain that such abomination is wrought among you,15thou shalt surely smite the inhabitants of that city with the edge of the sword, destroying it utterly with all that is therein and the beasts thereof, with the edge of the sword.16And thou shalt gather all the spoil of it into the midst of its plaza and shalt burn the city with fire and all the spoil thereof, all of it, unto the Lord thy God; and it shall be a heap for ever; it shall never be built again.17And none of the anathema shall cleave to thine hand that the 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 unto thy fathers,18when thou shalt hearken to the voice of the Lord thy God, keeping all his commandments which I command thee this day, to do that which is right in the eyes of the Lord thy God.