God will choose the king (and he won't be a foreigner). 17:15
The stranger that is within thee shall get up above thee very high; and thou shalt come down very low. 28:43
(See here
for an example of how this verse is used to justify the mistreatment of immigrants by bible-believers.)