6 But the thing displeased Samuel when they said, "Give us a king to judge us." So Samuel prayed to the Lord. 7 And the Lord said to Samuel, "Heed the voice of the people in all that they say to you; for they have not rejected you, but they have rejected Me, that I should not reign over them. 8 According to all the works which they have done since the day that I brought them up out of Egypt, even to this day--with which they have forsaken Me and served other gods--so they are doing to you also. 9 Now therefore, heed their voice. However, you shall solemnly forewarn them, and show them the behavior of the king who will reign over them."
Matthew Henry's Commentary on 1 Samuel 8:6-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.