Deuteronomy 17:2-7 - The Judicial Procedure For Idolatry

2 When there shall be found in the midst of thee in one of thy gates which Jehovah thy God gave to thee, a man or a woman who shall do evil in the eyes of Jehovah thy God to pass by his covenant, 3 And he will go and serve other gods and will worship to them, and to the sun or to the moon, or to any of the army of the heavens, which I commanded not; 4 And it was announced to thee, and thou heardest and sought out, doing well; and behold, the truth and the word certain this abomination being done in Israel. 5 And bring thou forth that man or that woman who did this evil word, to thy gates, the man and the woman, and stone them with stones, and they died. 6 At the mouth of two witnesses or three witnesses they shall be put to death; they shall not die by the mouth of one witness. 7 The hand of the witnesses shall be at first upon him to put him to death, and the hand of all the people afterward. And put thou away the evil from the midst of thee.