1“You shall not sacrifice to the LORD your God an ox or an animal from the flock that has any defect or flaw, for that is an abomination to the LORD your God.
2“If a man or woman is found among you, in one of your towns that the LORD your God is giving you, who does what is evil in the sight of the LORD your God by transgressing his covenant, 3and goes and serves other gods and bows down to them, or to the sun or the moon or any of the host of heaven, an act 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 abomination has been done in Israel, 5you shall bring that man or that woman who has done this evil thing out to your gates, and you shall stone the man or the woman to death. 6On the testimony of two witnesses or three witnesses the person who is to die shall be put to death; no one shall be put to death on the testimony of one witness. 7The hand of the witnesses shall be the first against that person to put them to death, and afterward the hand of all the people. So you shall purge the evil from among you.
8“If a matter is too difficult for you to judge—between one case of bloodshed and another, one legal claim and another, or one case of injury and another, matters of dispute in your towns—you shall rise and go up to the place the LORD your God will choose. 9You shall come to the Levitical priests and to the judge who is in office in those days, and inquire of them, and they shall tell you the decision in the case. 10You shall act according to the decision they tell you at that place the LORD will choose, and carefully do everything they instruct you. 11According to the instruction they give you and the judgment they pronounce to you, you shall act. You shall not turn aside to the right or to the left from the decision they tell you. 12The man who acts presumptuously by refusing to listen to the priest who stands there to minister to the LORD your God, or to the judge, that man shall die. So you shall purge the evil from Israel. 13All the people shall hear and fear, and will not act presumptuously again.
14“When you enter the land the LORD your God is giving you, take possession of it and settle in it, and say, ‘I will set a king over me, like all the nations around me,’ 15you shall surely set over yourself the king whom the LORD your God chooses. You shall set a king over yourself from among your brothers; you may not put a foreign man over you who is not your brother. 16Only he must not acquire many horses for himself or send the people back to Egypt to acquire more horses, for the LORD has said to you, ‘You shall never return that way again.’ 17He must not take many wives for himself, so that his heart does not turn away, and he must not acquire excessive silver and gold for himself. 18When he sits on the throne of his kingdom, he shall write for himself on a scroll a copy of this law from the one in the custody of the Levitical priests. 19It shall remain with him, and he shall read it all the days of his life, so that he may learn to fear the LORD his God and carefully observe all the words of this law and these statutes, 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, and so that he and his sons may reign for a long time in the midst of Israel.