2 If there is found in your midst, in any one of the communities which the Lord, your God, gives you, a man or a woman who does evil in the sight of the Lord, your God, and transgresses his covenant,
3 by going to serve other gods, by bowing down to them, to the sun or the moon or any of the host of heaven, contrary to my command;
4 and if you are told or hear of it, you must investigate it thoroughly. If the truth of the matter is established that this abomination has been committed in Israel,
5 you shall bring the man or the woman who has done this evil deed out to your gates and stone the man or the woman to death.
6 Only on the testimony of two or three witnesses shall a person be put to death; no one shall be put to death on the testimony of only one witness.
7 The hands of the witnesses shall be the first raised to put the person to death, and afterward the hands of all the people. Thus shall you purge the evil from your midst.
8 If there is a case for judgment which proves too baffling for you to decide, in a matter of bloodshed or of law or of injury, matters of dispute within your gates, you shall then go up to the place which the Lord, your God, will choose,