1 Samuel 8:6-7

8:6 But this request displeased Samuel, for they said, “Give us a king to lead us.” So Samuel prayed to the Lord. 8:7 The Lord said to Samuel, “Do everything the people request of you. For it is not you that they have rejected, but it is me that they have rejected as their king.

1 Samuel 8:22

8:22 The Lord said to Samuel, “Do as they say and install a king over them.” Then Samuel said to the men of Israel, “Each of you go back to his own city.”