1 Samuel 8:6-9

6 But when they said, “Give us a king to lead us,” this displeased Samuel; so he prayed to the LORD.
7 And the LORD told him: “Listen to all that the people are saying to you; it is not you they have rejected, but they have rejected me as their king.
8 As they have done from the day I brought them up out of Egypt until this day, forsaking me and serving other gods, so they are doing to you.
9 Now listen to them; but warn them solemnly and let them know what the king who will reign over them will claim as his rights.”