It happened, when Samuel was old, that he made his sons judges over Israel.
Now the name of his firstborn was Joel; and the name of his second, Abijah: they were judges in Beersheba.
His sons didn't walk in his ways, but turned aside after lucre, and took bribes, and perverted justice.
Then all the elders of Israel gathered themselves together, and came to Samuel to Ramah;
and they said to him, Behold, you are old, and your sons don't walk in your ways: now make us a king to judge us like all the nations.
But the thing displeased Samuel, when they said, Give us a king to judge us. Samuel prayed to Yahweh.
Yahweh said to Samuel, Listen to the voice of the people in all that they tell you; for they have not rejected you, but they have rejected me, that I should not be king over them.
According to all the works which they have done since the day that I brought them up out of Egypt even to this day, in that they have forsaken me, and served other gods, so do they also to you.
Now therefore listen to their voice: however you shall protest solemnly to them, and shall show them the manner of the king who shall reign over them.
Samuel told all the words of Yahweh to the people who asked of him a king.