ESV: you may indeed set a king over you whom the Lord your God will choose. One from among your brothers you shall set as king over you. You may not put a foreigner over you, who is not your brother.
NIV: be sure to appoint over you a king the Lord your God chooses. He must be from among your fellow Israelites. Do not place a foreigner over you, one who is not an Israelite.
NASB: you shall in fact appoint a king over you whom the Lord your God chooses. One from among your countrymen you shall appoint as king over yourselves; you may not put a foreigner over yourselves, anyone who is not your countryman.
CSB: you are to appoint over you the king the Lord your God chooses. Appoint a king from your brothers. You are not to set a foreigner over you, or one who is not of your people.
NLT: If 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.
KJV: Thou shalt in any wise set him king over thee, whom the Lord thy God shall choose: one from among thy brethren shalt thou set king over thee: thou mayest not set a stranger over thee, which is not thy brother.
NKJV: you shall surely set a king over you whom the Lord your God chooses; one from among your brethren you shall set as king over you; you may not set a foreigner over you, who is not your brother.