Deuteronomy 17:15

15 thou dost certainly set over thee a king on whom Jehovah doth fix; from the midst of thy brethren thou dost set over thee a king; thou art not able to set over thee a stranger, who is not thy brother.