Deuteronomy 17:15

Amplified Bible (AMP)
you shall most certainly set a king over you whom the Lord your God chooses. You shall set a king over you from among your countrymen (brothers); you may not choose a foreigner [to rule] over you who is not your countryman.

Read Deuteronomy 17:15 in other translations