2 If someone, whether male or female, is found in your community—in one of the cities the Lord your God is giving you—who does evil in the Lord your God’s eyes, by breaking God’s covenant,
3 by following and serving other gods, and by bowing down to them, to the sun or the moon or any of the heavenly bodies that I haven’t permitted—
4 and you hear news about it, then you must look into this situation very carefully. And if it’s definitely true that this detestable thing was done in Israel,
5 then you must bring out the man or woman who has done this evil thing to the gates of the city. Stone that person until he or she is dead.
6 Capital punishment must be decided by two or three witnesses. No one may be executed on the basis of only one testimony.
7 In the execution, the hands of the witnesses must be against the guilty person from the start; the hand of all the people will be involved at the end. Remove such evil from your community!
8 If some legal dispute in your cities is too difficult for you to decide—say, between different kinds of bloodshed, different kinds of legal ruling, or different kinds of injury—then take it to the location the Lord your God selects.