Do not sacrifice to the LORD your God an ox or a sheep that has any defect1 or flaw in it, for that would be detestable2 to him.32
If a man or woman living among you in one of the towns the LORD gives you is found doing evil in the eyes of the LORD your God in violation of his covenant,43
and contrary to my command5 has worshiped other gods,6 bowing down to them or to the sun7 or the moon or the stars of the sky,84
and this has been brought to your attention, then you must investigate it thoroughly. If it is true9 and it has been proved that this detestable thing has been done in Israel,105
take the man or woman who has done this evil deed to your city gate and stone that person to death.116
On the testimony of two or three witnesses a man shall be put to death, but no one shall be put to death on the testimony of only one witness.127
The hands of the witnesses must be the first in putting him to death,13 and then the hands of all the people.14 You must purge the evil15 from among you.
If cases come before your courts that are too difficult for you to judge16--whether bloodshed, lawsuits or assaults17--take them to the place the LORD your God will choose.189
Go to the priests, who are Levites,19 and to the judge20 who is in office at that time. Inquire of them and they will give you the verdict.2110
You must act according to the decisions they give you at the place the LORD will choose. Be careful to do everything they direct you to do.
Act according to the law they teach you and the decisions they give you. Do not turn aside from what they tell you, to the right or to the left.22