"You will soon arrive in the land the LORD your God is giving you, and you will conquer it and settle there. Then you may begin to think, 'We ought to have a king like the other nations around us.'
If this happens, be sure that you select as king the man the LORD your God chooses. You must appoint a fellow Israelite, not a foreigner.
The king must not build up a large stable of horses for himself, and he must never send his people to Egypt to buy horses there, for the LORD has told you, 'You must never return to Egypt.'
The king must not take many wives for himself, because they will lead him away from the LORD. And he must not accumulate vast amounts of wealth in silver and gold for himself."
"When he sits on the throne as king, he must copy these laws on a scroll for himself in the presence of the Levitical priests.
He must always keep this copy of the law with him and read it daily as long as he lives. That way he will learn to fear the LORD his God by obeying all the terms of this law.
This regular reading will prevent him from becoming proud and acting as if he is above his fellow citizens. It will also prevent him from turning away from these commands in the smallest way. This will ensure that he and his descendants will reign for many generations in Israel."