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," 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. 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!" 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. 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. 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.