Deuteronomy 17:14 in the King James Version
When thou art come unto the land which the LORD thy God giveth thee, and shalt possess it, and shalt dwell therein, and shalt say, I will set a king over me, like as all the nations that are about me;
Context
13 All the people shall hear and fear, and do no more presumptuously.
14 When you have come to the land which the LORD your God gives you, and possess it and dwell in it, and say, “I will set a king over me, like all the nations that are around me,”
15 you shall surely set him whom the LORD your God chooses as king over yourselves. You shall set as king over you one from among your brothers. You may not put a foreigner over you, who is not your brother.