When you have come into the land that the Lord your God is giving you, and have taken possession of it and settled in it, and you say, "I will set a king over me, like all the nations that are around me,"
you may indeed set over you a king whom the Lord your God will choose. One of your own community you may set as king over you; you are not permitted to put a foreigner over you, who is not of your own community.
Even so, he must not acquire many horses for himself, or return the people to Egypt in order to acquire more horses, since the Lord has said to you, "You must never return that way again."
And he must not acquire many wives for himself, or else his heart will turn away; also silver and gold he must not acquire in great quantity for himself.
When he has taken the throne of his kingdom, he shall have a copy of this law written for him in the presence of the levitical priests.
It shall remain with him and he shall read in it all the days of his life, so that he may learn to fear the Lord his God, diligently observing all the words of this law and these statutes,
neither exalting himself above other members of the community nor turning aside from the commandment, either to the right or to the left, so that he and his descendants may reign long over his kingdom in Israel.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)