2 Someone who is living among you might do what is evil in the sight of the Lord your God. It might happen in one of the towns the Lord is giving you. That person is breaking the Lord's covenant.
3 The person might have worshiped or bowed down to other gods. That person might have bowed down to the sun or moon or stars in the sky. I have commanded you not to do those things.
4 When you hear that people have done something like that, check the matter out carefully. If it's true, an evil thing has been done in Israel. It's something the Lord hates.
5 So take the person who has done that evil thing to your city gate. Put that person to death with stones.
6 The witness of two or three people is required to put someone to death. No one can be put to death because of what only one witness says. It needs the witness of two or three people.
7 The witnesses must throw the first stones. Then the rest of the people must also throw stones. Get rid of that evil person.
8 People will bring their cases to your courts. But some cases will be too hard for you to judge. They might be about murders, attacks or other crimes. Then take those hard cases to the place the Lord your God will choose.