1“Do not sacrifice to the Lord your God an ox or sheep with a defect or any serious flaw, for that is detestable to the Lord your God.
The Judicial Procedure for Idolatry
2“If a man or woman among you in one of your towns that the Lord your God will give you is discovered doing evil in the sight of the Lord your God and violating his covenant 3and has gone to serve other gods by bowing in worship to the sun, moon, or all the stars in the sky — which I have forbidden — 4and if you are told or hear about it, then investigate it thoroughly. If the report turns out to be true that this detestable act has been done in Israel, 5you are to bring out to your city gates that man or woman who has done this evil thing and stone them to death. 6The one condemned to die is to be executed on the testimony of two or three witnesses. No one is to be executed on the testimony of a single witness. 7The witnesses’ hands are to be the first in putting him to death, and after that, the hands of all the people. You must purge the evil from you.
8“If a case is too difficult for you — concerning bloodshed, lawsuits, or assaults — cases disputed at your city gates, then go up to the place the Lord your God chooses. 9You are to go to the Levitical priests and to the judge who presides at that time. Ask, and they will give you a verdict in the case. 10You must abide by the verdict they give you at the place the Lord chooses. Be careful to do exactly as they instruct you. 11You must abide by the instruction they give you and the verdict they announce to you. Do not turn to the right or the left from the decision they declare to you. 12The person who acts arrogantly, refusing to listen either to the priest who stands there serving the Lord your God or to the judge, must die. You must purge the evil from Israel. 13Then all the people will hear about it, be afraid, and no longer behave arrogantly.
Appointing a King
14“When you enter the land the Lord your God is giving you, take possession of it, live in it, and say, ‘I will set a king over me like all the nations around me,’ 15you are to appoint over you the king the Lord your God chooses. Appoint a king from your brothers. You are not to set a foreigner over you, or one who is not of your people. 16However, he must not acquire many horses for himself or send the people back to Egypt to acquire many horses, for the Lord has told you, ‘You are never to go back that way again.’ 17He must not acquire many wives for himself so that his heart won’t go astray. He must not acquire very large amounts of silver and gold for himself. 18When he is seated on his royal throne, he is to write a copy of this instruction for himself on a scroll in the presence of the Levitical priests. 19It is to remain with him, and he is to read from it all the days of his life, so that he may learn to fear the Lord his God, to observe all the words of this instruction, and to do these statutes. 20Then his heart will not be exalted above his countrymen, he will not turn from this command to the right or the left, and he and his sons will continue reigning many years in Israel.