1Don’t sacrifice to the LORD your God any oxen or sheep that have defects of any kind, because that is detestable to the LORD your God.
2If someone, whether male or female, is found in your community—in one of the cities the LORD your God is giving you—who does evil in the LORD your God’s eyes, by breaking God’s covenant, 3by following and serving other gods, and by bowing down to them, to the sun or the moon or any of the heavenly bodies that I haven’t permitted—4and you hear news about it, then you must look into this situation very carefully. And if it’s definitely true that this detestable thing was done in Israel, 5then you must bring out the man or woman who has done this evil thing to the gates of the city. Stone that person until he or she is dead.
6Capital punishment must be decided by two or three witnesses. No one may be executed on the basis of only one testimony. 7In the execution, the hands of the witnesses must be against the guilty person from the start; the hand of all the people will be involved at the end. Remove#Or burn such evil from your community!
8If some legal dispute in your cities is too difficult for you to decide—say, between different kinds of bloodshed, different kinds of legal ruling, or different kinds of injury—then take it to the location the LORD your God selects. 9Go to the levitical priests and to the head judge in office at that time and look into things there. They will announce to you the correct ruling. 10You must then act according to the ruling they announced to you from that location, the one the LORD selects. You must follow very carefully everything they instruct you to do. 11Act precisely according to the instruction they give you and the ruling they announce to you. Don’t deviate even a bit from the word they announce. 12And whoever acts rashly by not listening to the priest who is in office serving the LORD your God or to the head judge will die. Remove#Or burn such evil from Israel! 13All the people will hear about this and be afraid. They won’t act arrogantly anymore.
Law of the king
14Once you have entered the land the LORD your God is giving you and you have taken possession of it and settled down in it, you might say: "Let’s appoint a king over us, as all our neighboring nations have done." 15You can indeed appoint over you a king that the LORD your God selects. You can appoint over you a king who is one of your fellow Israelites. You are not allowed to appoint over you a foreigner who is not one of your fellow Israelites. 16That granted, the king must not acquire too many horses, and he must not return the people to Egypt in order to acquire more horses, because the LORD told you: "You will never go back by that road again." 17The king must not take numerous wives so that his heart doesn’t go astray. Nor can the king acquire too much silver and gold. 18Instead, when he sits on his royal throne, he himself must write a copy of this Instruction on a scroll in the presence of the levitical priests. 19That Instruction must remain with him, and he must read in it every day of his life so that he learns to revere the LORD his God by keeping all the words of this Instruction and these regulations, by doing them, 20by not being overbearing toward his fellow Israelites, and by not deviating even a bit from the commandment. If the king does all that, he will ensure lasting rule in Israel for himself and for his successors.