Deut. 13:5‑15• 5And that prophet, or that dreamer of dreams, shall be put to death; for he hath spoken revolt against Jehovah your God who brought you out of the land of Egypt, and redeemed you out of the house of bondage,--to draw thee out of the way that Jehovah thy God commanded thee to walk in; and thou shalt put evil away from thy midst.
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 to thee as thy soul, entice thee secretly, saying, Let us go and serve other gods (whom thou hast not known, thou, nor thy fathers;
7of the gods of the peoples which are round about you, near unto thee, or far from thee, from one end of the earth even unto the other end of the earth),
8thou shalt not consent unto him, nor hearken unto him; neither shall thine eye spare him, neither shalt thou pity him, neither shalt thou screen him,
9but thou shalt in any case kill him: thy hand shall be the first against him to put him to death, and afterwards the hands of all the people;
10and thou shalt stone him with stones, that he die; for he hath sought to draw thee away from Jehovah thy God who brought thee out of the land of Egypt, out of the house of bondage;
11and all Israel shall hear, and fear, and shall do no more any such wicked thing as this in thy midst.
12If in one of thy cities, which Jehovah thy God hath given thee to dwell there, thou hearest, saying,
13There are men, children of Belial, gone out from among you, and they have drawn away the inhabitants of their city, saying, Let us go and serve other gods, whom ye have not known;
14then shalt thou inquire, and make search, and ask diligently; and if it be truth, and the thing be certain, that this abomination hath happened in the midst of thee,
15thou shalt surely smite the inhabitants of that city with the edge of the sword, devoting it to destruction, and all that is therein, and the cattle thereof, with the edge of the sword. (Deut. 13:5‑15)
Deut. 17:2‑5• 2If there be found in thy midst in any of thy gates which Jehovah thy God giveth thee, man or woman, that doeth what is evil in the sight of Jehovah thy God, in transgressing his covenant,
3and goeth and serveth other gods, and boweth down to them, either to the sun or to the moon, or to the whole host of heaven, which I have not commanded;
4and it be told thee, and thou hearest of it; then thou shalt make thorough inquiry, and if it be truth and the thing be certain, that this abomination hath been wrought in Israel,
5thou shalt bring forth that man or that woman, who committed that wicked thing, unto thy gates, the man or the woman, and shalt stone them with stones, that they die. (Deut. 17:2‑5)