Deuteronomy 17 Amplified Bible, Classic Edition (AMPC)
17 You shall not sacrifice to the Lord your God an ox or sheep with a blemish or any defect whatsoever, for that is an abomination to the Lord your God.
2 If there is found among you within any of your towns which the Lord your God gives you a man or woman who does what is wicked in the sight of the Lord your God by transgressing His covenant,
3 Who has gone and served other gods and worshiped them, or the sun or moon or any of the host of the heavens, which I have forbidden,
4 And it is told and you hear of it, then inquire diligently. And if it is certainly true that such an abomination has been committed in Israel,
5 Then you shall bring forth to your town’s gates that man or woman who has done that wicked thing and you shall stone that man or woman to death.
6 On the evidence of two or three witnesses he who is worthy of death shall be put to death; he shall not be put to death on the evidence of one witness.
7 The hands of the witnesses shall be the first against him to put him to death, and afterward the hands of all the people. So you shall purge the evil from among you.
8 If there arises a matter too hard for you in judgment—between one kind of bloodshed and another, between one legality and another, between one kind of assault and another, matters of controversy within your towns—then arise and go to the place which the Lord your God chooses.
9 And you shall come to the Levitical priests and to the judge who is in office in those days, and you shall consult them and they shall make clear to you the decision.
10 And you shall do according to the decision which they declare to you from that place which the Lord chooses; and you shall be watchful to do according to all that they tell you;
11 According to the decision of the law which they shall teach you and the judgment which they shall announce to you, you shall do; you shall not turn aside from the verdict they give you, [a]either to the right hand or the left.
12 The man who does presumptuously and will not listen to the priest who stands to minister there before the Lord your God or to the judge, that man shall die; so you shall purge the evil from Israel.
13 And all the people shall hear and [reverently] fear, and not act presumptuously again.
14 When you come to the land which the Lord your God gives you and you possess it and live there, and then say, We will set a king over us like all the nations that are about us,
15 You shall surely set as king over you him whom the Lord your God will choose. One from among your brethren you shall set as king over you; you may not set a foreigner, who is not your brother, over you.
16 But he shall not multiply horses to himself or cause the people to return to Egypt in order to multiply horses, since the Lord said to you, You shall never return that way.
17 And he shall not multiply wives to himself, that his [mind and] heart turn not away; neither shall he greatly multiply to himself silver and gold.
18 And when he sits on his royal throne, he shall write for himself a copy of this law in a book, out of what is before the Levitical priests.
19 And he shall keep it with him, and he shall read in it all the days of his life, that he may learn [reverently] to fear the Lord his God, by keeping all the words of this law and these statutes and doing them,
20 That his [mind and] heart may not be lifted up above his brethren and that he may not turn aside from the commandment to the right hand or to the left; so that he may continue long, he and his sons, in his kingdom in Israel.
Deuteronomy 17 New International Version (NIV)
17 Do not sacrifice to the Lord your God an ox or a sheep that has any defect or flaw in it, for that would be detestable to him.
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, 3 and contrary to my command has worshiped other gods, bowing down to them or to the sun or the moon or the stars in the sky, 4 and this has been brought to your attention, then you must investigate it thoroughly. If it is true and it has been proved that this detestable thing has been done in Israel, 5 take the man or woman who has done this evil deed to your city gate and stone that person to death. 6 On the testimony of two or three witnesses a person is to be put to death, but no one is to be put to death on the testimony of only one witness. 7 The hands of the witnesses must be the first in putting that person to death, and then the hands of all the people. You must purge the evil from among you.
8 If cases come before your courts that are too difficult for you to judge—whether bloodshed, lawsuits or assaults—take them to the place the Lord your God will choose. 9 Go to the Levitical priests and to the judge who is in office at that time. Inquire of them and they will give you the verdict. 10 You must act according to the decisions they give you at the place the Lord will choose. Be careful to do everything they instruct you to do. 11 Act according to whatever 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. 12 Anyone who shows contempt for the judge or for the priest who stands ministering there to the Lord your God is to be put to death. You must purge the evil from Israel. 13 All the people will hear and be afraid, and will not be contemptuous again.
14 When you enter the land the Lord your God is giving you and have taken possession of it and settled in it, and you say, “Let us set a king over us like all the nations around us,” 15 be sure to appoint over you a king the Lord your God chooses. He must be from among your fellow Israelites. Do not place a foreigner over you, one who is not an Israelite. 16 The king, moreover, must not acquire great numbers of horses for himself or make the people return to Egypt to get more of them, for the Lord has told you, “You are not to go back that way again.” 17 He must not take many wives, or his heart will be led astray. He must not accumulate large amounts of silver and gold.
18 When he takes the throne of his kingdom, he is to write for himself on a scroll a copy of this law, taken from that of the Levitical priests. 19 It is to be with him, and he is to read it all the days of his life so that he may learn to revere the Lord his God and follow carefully all the words of this law and these decrees 20 and not consider himself better than his fellow Israelites and turn from the law to the right or to the left. Then he and his descendants will reign a long time over his kingdom in Israel.