10 You shall do according to the sentence which they pronounce upon you in that place which the Lord chooses. And you shall be careful to do according to all that they order you. 11 According to the sentence of the law in which they instruct you, according to the judgment which they tell you, you shall do; you shall not turn aside to the right hand or to the left from the sentence which they pronounce upon you. 12 Now the man who acts presumptuously and will not heed the priest who stands to minister there before the Lord your God, or the judge, that man shall die. So you shall put away the evil from Israel. 13 And all the people shall hear and fear, and no longer act presumptuously.

Instructions concerning a King

14 "When you come to the land which the Lord your God is giving you, and possess it and dwell in it, and say, 'I will set a king over me like all the nations that are around me,' 15 you shall surely set a king over you whom the Lord your God chooses; one from among your brethren you shall set as king over you; you may not set a foreigner over you, who is not your brother. 16 But he shall not multiply horses for himself, nor cause the people to return to Egypt to multiply horses, for the Lord has said to you, 'You shall not return that way again.' 17 Neither shall he multiply wives for himself, lest his heart turn away; nor shall he greatly multiply silver and gold for himself. 18 "Also it shall be, when he sits on the throne of his kingdom, that he shall write for himself a copy of this law in a book, from the one before the priests, the Levites. 19 And it shall be with him, and he shall read it all the days of his life, that he may learn to fear the Lord his God and be careful to observe all the words of this law and these statutes, 20 that his heart may not be lifted above his brethren, that he may not turn aside from the commandment to the right hand or to the left, and that he may prolong his days in his kingdom, he and his children in the midst of Israel.

Matthew Henry's Commentary on Deuteronomy 17:10-20

Commentary on Deuteronomy 17:8-13

(Read Deuteronomy 17:8-13)

Courts of judgment were to be set up in every city. Though their judgment had not the Divine authority of an oracle, it was the judgment of wise, prudent, experienced men, and had the advantage of a Divine promise.

Commentary on Deuteronomy 17:14-20

(Read Deuteronomy 17:14-20)

God himself was in a particular manner Israel's King; and if they set another over them, it was necessary that he should choose the person. Accordingly, when the people desired a king, they applied to Samuel, a prophet of the Lord. In all cases, God's choice, if we can but know it, should direct, determine, and overrule ours. Laws are given for the prince that should be elected. He must carefully avoid every thing that would turn him from God and religion. Riches, honours, and pleasures, are three great hinderances of godliness, (the lusts of the flesh, the lusts of the eye, and the pride of life,) especially to those in high stations; against these the king is here warned. The king must carefully study the law of God, and make that his rule; and having a copy of the Scriptures of his own writing, must read therein all the days of his life. It is not enough to have Bibles, but we must use them, use them daily, as long as we live. Christ's scholars never learn above their Bibles, but will have constant occasion for them, till they come to that world where knowledge and love will be made perfect. The king's writing and reading were as nothing, if he did not practise what he wrote and read. And those who fear God and keep his commandments, will fare the better for it even in this world.