Deuteronomy 17:15

NLT
New Living Translation

15If this happens, be sure to select as king the man the Lord your God chooses. You must appoint a fellow Israelite; he may not be a foreigner.