4 And all the elders of Israel gather themselves together, and come in unto Samuel to Ramath, 5 and say unto him, 'Lo, thou hast become aged, and thy sons have not walked in thy ways; now, appoint to us a king, to judge us, like all the nations.' 6 And the thing is evil in the eyes of Samuel, when they have said, 'Give to us a king to judge us;' and Samuel prayeth unto Jehovah. 7 And Jehovah saith unto Samuel, 'Hearken to the voice of the people, to all that they say unto thee, for thee they have not rejected, but Me they have rejected, from reigning over them. 8 According to all the works that they have done from the day of My bringing them up out of Egypt, even unto this day, when they forsake Me, and serve other gods—so they are doing also to thee. 9 And now, hearken to their voice; only, surely thou dost certainly protest to them, and hast declared to them the custom of the king who doth reign over them.'

Matthew Henry's Commentary on 1 Samuel 8:4-9

Commentary on 1 Samuel 8:4-9

(Read 1 Samuel 8:4-9)

Samuel was displeased; he could patiently bear what reflected on himself, and his own family; but it displeased him when they said, Give us a king to judge us, because that reflected upon God. It drove him to his knees. When any thing disturbs us, it is our interest, as well as our duty, to show our trouble before God. Samuel is to tell them that they shall have a king. Not that God was pleased with their request, but as sometimes he opposes us from loving-kindness, so at other times he gratifies us in wrath; he did so here. God knows how to bring glory to himself, and serves his own wise purposes, even by men's foolish counsels.