Deuteronomy 17:14-15

CLV(i) 14 When you come to the land that Yahweh your Elohim is giving to you, and you tenant it and dwell in it, and you say:Let me set a king over me like all the nations who are around me, 15 then you shall set, yea set over you a king whom Yahweh your Elohim shall choose. From among your brothers shall you set a king over you. You cannot put over you a foreign man who is not of your brothers.