Deuteronomy 17:14

:

When you are come to the land which Yahweh your God gives you, and shall possess it, and shall dwell therein, and shall say, “I will set a king over me, like all the nations that are around me;”