Deuteronomy 17:13-15 World English Bible (WEB)

13. All the people shall hear, and fear, and do no more presumptuously.

14. When you have come to the land which Yahweh 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 king over yourselves, whom Yahweh your God chooses. 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.

Deuteronomy 17