1You shall not sacrifice to Yehovah your God an ox or sheep that has a defect, any serious flaw, for that is an abhorrent thing to Yehovah your God.
2If there is found among you, within any of your gates that Yehovah your God is giving you, a man or woman who does what is evil in the eyes of Yehovah your God by transgressing his covenant,
3and has gone and served other gods and bowed down to them, whether the sun, the moon, or any of the army of heaven, which I have not commanded,
4and it is reported to you and you hear of it, then you shall investigate thoroughly. If it is true and the matter is established that this abhorrent thing has been done in Israel,
5then you shall bring out to your gates that man or woman who has done this evil thing, the man or the woman, and stone them with stones so that they die.
6On the testimony of two witnesses or three witnesses the one condemned to die shall be put to death. He shall not be put to death on the testimony of one witness.
7The hand of the witnesses shall be against him first to put him to death, and afterward the hand of all the people. So you shall remove the evil from your midst.
8If a matter of judgment is too difficult for you, between blood and blood, case and case, or injury and injury, matters of dispute within your gates, then you shall arise and go up to the place that Yehovah your God will choose.
9You shall come to the Levitical priests and to the judge who is in office in those days, and you shall inquire. They shall declare to you the decision in the case.
10You shall act according to the decision they declare to you from that place that Yehovah will choose, and you shall be careful to do according to everything they instruct you.
11According to the law they instruct you and the judgment they tell you, you shall act. You shall not turn aside from the decision they declare to you, to the right or to the left.
12The man who acts presumptuously by refusing to listen to the priest who stands there to serve Yehovah your God, or to the judge, that man shall die. So you shall remove the evil from Israel.
13Then all the people will hear and fear, and they will not act presumptuously again.
14When you enter the land that Yehovah your God is giving you, possess it, and live in it, and you say, ‘I will set a king over me like all the nations around me,’
15then you shall indeed set over you a king whom Yehovah your God chooses. You shall set a king over you from among your brothers. You may not put a foreign man over you who is not your brother.
16Only he shall not multiply horses for himself or cause the people to return to Egypt in order to multiply horses, since Yehovah has said to you, ‘You shall never return by this way again.’
17He shall not multiply wives for himself, lest his heart turn aside. He shall not multiply silver and gold for himself excessively.
18When he sits on the throne of his kingdom, he shall write for himself in a scroll a copy of this law, from the one before the Levitical priests.
19It shall be with him, and he shall read in it all the days of his life, so that he may learn to fear Yehovah his God by keeping all the words of this law and these statutes, to do them,
20so 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, so that he and his sons may prolong their days over his kingdom in the midst of Israel.