1 Samuel 8:2-7
English Standard Version
Chapter 8
2The name of his firstborn son was Joel, and the name of his second, Abijah; they were judges in Beersheba. 3Yet his sons did not walk in his ways but turned aside after gain. They took bribes and perverted justice.
4Then all the elders of Israel gathered together and came to Samuel at Ramah
5and said to him, "Behold, you are old and your sons do not walk in your ways. Now appoint for us a king to judge us like all the nations."
6But the thing displeased Samuel when they said, "Give us a king to judge us." And Samuel prayed to the Lord.
7And the Lord said to Samuel, "Obey 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.