Deuteronomy 17:2 — Deuteronomy17:20
2 If there is found in your midst, within any of your gates which Jehovah your God is giving you, a man or a woman who does what is evil in the sight of Jehovah your God by transgressing His covenant,
3 And has gone and served other gods, and bowed down to them, that is, to the sun or the moon or any of the host of heaven, which I have not commanded you to do;
4 And it is told to you and you hear of it; then you shall investigate thoroughly. And if indeed the thing is true and certain – this abomination has been done in Israel –
5 Then you shall bring out that man or that woman who has done this evil thing, to your gates, that very man or woman, and you shall stone them with stones so that they die.
6 At the word of two witnesses or three witnesses shall he who is to die be put to death; he shall not be put to death at the word of only one witness.
7 The hand of the witnesses shall be first against him to put him to death, and afterward the hand of all the people. Thus you shall utterly remove the evil from your midst.
8 If a case is too complicated for you to judge between one kind of homicide and another, or between one kind of civil suit and another, or between one kind of assault and another, being disputed cases within your gates, then you shall arise and go up to the place which Jehovah your God will choose;
9 And you shall come to the Levitical priests and to the judge who is presiding in those days and investigate the matter; and they shall declare to you the sentence of judgment.
10 And you shall do according to the word of the sentence that they declare to you from that place which Jehovah will choose; and you shall be certain to do according to all that they instruct you.
11 You shall do according to the word of the instruction with which they instruct you and according to the judgment which they speak to you; you shall not turn aside to the right or to the left from the sentence that they declare to you.
12 And the man who acts presumptuously by not listening to the priest who stands to minister there before Jehovah your God, or to the judge, that man shall die. Thus you shall utterly remove the evil from Israel.
13 And all the people will hear and will fear, and they will not act presumptuously anymore.
14 When you enter the land which Jehovah your God is giving you, and you possess it and dwell in it, and you say, I will set a king over me like all the nations which surround me;
15 You must set a king over you whom Jehovah your God will choose; from among your brothers you shall set a king over you; you may not put a foreigner, who is not your brother, over you.
16 However, he shall not amass horses to himself, and he shall not turn the people back to Egypt so that he may amass horses, since Jehovah has said to you, You shall never again return that way.
17 And he shall not amass wives to himself, so that his heart does not turn aside; nor shall he amass silver and gold to himself in great amounts.
18 And when he sits on the throne of his kingdom, he shall write out for himself a copy of this law in a book, out of that which is before the Levitical priests.
19 And it shall be with him, and he shall read in it all the days of his life, in order that he may learn to fear Jehovah his God by keeping all the words of this law and these statutes and doing them,
20 So that his heart may not be lifted up above his brothers and he may not turn aside from the commandment to the right or to the left; that he and his sons may extend their days over their kingdom in the midst of Israel.