10 Then carry out their verdict at the place designated by God, your God. Do what they tell you, in exactly the way they tell you. 11 Follow their instructions precisely: Don't leave out anything; don't add anything. 12 Anyone who presumes to override or twist the decision handed down by the priest or judge who was acting in the Presence of God, your God, is as good as dead - root him out, rid Israel of the evil. 13 Everyone will take notice and be impressed. That will put an end to presumptuous behavior.

Instructions concerning a King

14 When you enter the land that God, your God, is giving you and take it over and settle down, and then say, "I'm going to get me a king, a king like all the nations around me," 15 make sure you get yourself a king whom God, your God, chooses. Choose your king from among your kinsmen; don't take a foreigner - only a kinsman. 16 And make sure he doesn't build up a war machine, amassing military horses and chariots. He must not send people to Egypt to get more horses, because God told you, "You'll never go back there again!" 17 And make sure he doesn't build up a harem, collecting wives who will divert him from the straight and narrow. And make sure he doesn't pile up a lot of silver and gold. 18 This is what must be done: When he sits down on the throne of his kingdom, the first thing he must do is make himself a copy of this Revelation on a scroll, copied under the supervision of the Levitical priests. 19 That scroll is to remain at his side at all times; he is to study it every day so that he may learn what it means to fear his God, living in reverent obedience before these rules and regulations by following them. 20 He must not become proud and arrogant, changing the commands at whim to suit himself or making up his own versions. If he reads and learns, he will have a long reign as king in Israel, he and his sons.

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.