Deuteronomy 17:2-12 NIV

2 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,1

References for Deuteronomy 17:2

3 and contrary to my command2 has worshiped other gods,3 bowing down to them or to the sun4 or the moon or the stars of the sky,5

References for Deuteronomy 17:3

4 and this has been brought to your attention, then you must investigate it thoroughly. If it is true6 and it has been proved that this detestable thing has been done in Israel,7

References for Deuteronomy 17:4

5 take the man or woman who has done this evil deed to your city gate and stone that person to death.8

References for Deuteronomy 17:5

6 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.9

References for Deuteronomy 17:6

7 The hands of the witnesses must be the first in putting him to death,10 and then the hands of all the people.11 You must purge the evil12 from among you.

References for Deuteronomy 17:7

Law Courts

8 If cases come before your courts that are too difficult for you to judge13--whether bloodshed, lawsuits or assaults14--take them to the place the LORD your God will choose.15

References for Deuteronomy 17:8

9 Go to the priests, who are Levites,16 and to the judge17 who is in office at that time. Inquire of them and they will give you the verdict.18

References for Deuteronomy 17:9

10 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.
11 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.19

References for Deuteronomy 17:11

12 The man who shows contempt20 for the judge or for the priest who stands ministering21 there to the LORD your God must be put to death.22 You must purge the evil from Israel.23

References for Deuteronomy 17:12