When Samuel became old, he made his sons judges over Israel.
The name of his first-born son was Jo'el, and the name of his second, Abi'jah; they were judges in Beer-sheba.
Yet his sons did not walk in his ways, but turned aside after gain; they took bribes and perverted justice.
Then all the elders of Israel gathered together and came to Samuel at Ramah,
and said to him, "Behold, you are old and your sons do not walk in your ways; now appoint for us a king to govern us like all the nations."
But the thing displeased Samuel when they said, "Give us a king to govern us." And Samuel prayed to the LORD.
And the LORD said to Samuel, "Hearken to the voice of the people in all that they say to you; for they have not rejected you, but they have rejected me from being king over them.
According to all the deeds which they have done to me, from the day I brought them up out of Egypt even to this day, forsaking me and serving other gods, so they are also doing to you.
Now then, hearken to their voice; only, you shall solemnly warn them, and show them the ways of the king who shall reign over them."
So Samuel told all the words of the LORD to the people who were asking a king from him.