Deuteronomy 17:14-20

MLV(i) 14 When you have come to the land which Jehovah your God gives you and will possess it and will dwell in it and will say, I will set a king over me like all the nations that are all around me, 15 you will surely set him king over you whom Jehovah your God will choose. You will set a king over you from among your brothers. You may not put a foreigner over you who is not your brother.
16 Only he will not multiply horses to himself, nor cause the people to return to Egypt, to the end that he may multiply horses, inasmuch as Jehovah has said to you*, You* will hereafter return no more that way. 17 Neither will he multiply wives to himself, that his heart do not turn away. Neither will he greatly multiply to himself silver and gold.
18 And it will be, when he sits upon the throne of his kingdom, that he will write for him a copy of this law in a book, out of it before the priests the Levites, 19 and it will be with him. And he will read in it all the days of his life, that he may learn to fear Jehovah his God, to keep all the words of this law and these statutes, to do them, 20 that his heart not be lifted up above his brothers and that he does not turn aside from the commandment, to the right hand, or to the left, to the end that he may prolong his days in his kingdom, he and his sons, in the midst of Israel.