Deuteronomy 17 Holman Christian Standard Bible (HCSB)
17 “You must 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 3 and has gone to worship other gods by bowing down to the sun, moon, or all the stars in the sky—which I have forbidden— 4 and if you are told or hear about it, you must investigate it thoroughly. If the report turns out to be true that this detestable thing has happened in Israel, 5 you must bring out to your gates that man or woman who has done this evil thing and stone them to death. 6 The 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. 7 The 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 gates, you must go up to the place the Lord your God chooses. 9 You 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. 10 You must abide by the verdict they give you at the place the Lord chooses. Be careful to do exactly as they instruct you. 11 You 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. 12 The 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. 13 Then 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,’ 15 you 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. 16 However, 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.’ 17 He 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. 18 When 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. 19 It 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. 20 Then 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 ruling many years[a] over Israel.