17 “Do not give to the Lord your God a bull or a sheep which is not perfect. For that is a hated thing to the Lord your God.
2 “You may find among you, within any of your towns the Lord your God gives you, a man or a woman who does what is sinful in the eyes of the Lord your God by sinning against the Lord’s agreement. 3 If he has served other gods and worshiped them, or the sun, or the moon or the stars, which I have told him not to worship, 4 and if someone told you about this, then you should do your best to find out if it is true. If it is true that this hated thing has been done in Israel, 5 then bring that man or woman who has done this sinful act to your gates, and kill the man or woman with stones. 6 If two or three people tell what they know against this person, he who is to die must be put to death. But he should not be put to death if only one person speaks against him. 7 Those who speak against him should be first to put him to death. And then all the people should join them. You must get rid of all sin from among you.
8 “There may be a problem too hard for you to decide, between two kinds of killing, between two kinds of questions about the law, between two kinds of hurting, problems argued about in your courts. Then get up and go to the place which the Lord your God chooses. 9 Go to the Levite religious leader or the judge who is at work at that time. Ask them, and they will tell you what they decide. 10 Then do what should be done by what they tell you they have decided at that place which the Lord chooses. Be careful to do all they tell you. 11 Do what they teach you about the Law and about what they decide. Do not turn aside from what they tell you to do, to the right or to the left. 12 The man must die who does foolish things and will not listen to the judge or the religious leader who serves the Lord your God. You must get rid of sin from Israel. 13 Then all the people will hear and be afraid. They will not act in a foolish way again.
A King
14 “When you go into the land the Lord your God gives you, and own it and live in it, and you say, ‘I will have a king rule over me like all the nations around me,’ 15 then you will set a king over you whom the Lord your God chooses. Set a king over you from among your brothers. Do not give a stranger power over you if he is not your brother. 16 He must not take many horses for himself or make the people return to Egypt to get many horses. Because the Lord has told you, ‘You must never again return that way.’ 17 He must not take many wives for himself or his heart may turn away. And he must not gather much silver and gold for himself.
18 “When he sits on the throne of his nation, he should write this Law for himself in a book in front of the Levite religious leaders. 19 It should be kept with him and he should read it all the days of his life. Then he will learn to fear the Lord his God, by being careful to obey all the words of these Laws. 20 And he will not think he is better than his brothers. He will not turn aside from the Law, to the right or to the left, so that he and his children may live long in his nation in Israel.