When you enter the land the Lord your God is giving you, taking it as your own and living in it, you will say, "Let's appoint a king over us like the nations all around us."
Be sure to appoint over you the king the Lord your God chooses. He must be one of your own people. Do not appoint as your king a foreigner who is not a fellow Israelite.
The king must not have too many horses for himself, and he must not send people to Egypt to get more horses, because the Lord has told you, "Don't return that way again."
The king must not have many wives, or his heart will be led away from God. He must not have too much silver and gold.
When he becomes king, he should write a copy of the teachings on a scroll for himself, a copy taken from the priests and Levites.
He should keep it with him all the time and read from it every day of his life. Then he will learn to respect the Lord his God, and he will obey all the teach- ings and commands.
He should not think he is better than his fellow Israelites, and he must not stop obeying the law in any way so that he and his descendants may rule the kingdom for a long time.