2 Chronicles 6:5-6
Since the day I brought My people out of the land of Egypt I chose no city among all the tribes of Israel to build a house in, that My Name might be there; neither chose I any man to be ruler over My people Israel;
But I have chosen Jerusalem, that My Name [and the symbol of My Presence] might be there, and have chosen David to be over My people Israel.
God is plainly saying here it was not His desire for Israel to have a king.
To be sure, when Samuel’s attempt to dissuade the people they replied, “No, but we will have a king over us, that we may be like other nations,” God said to Samuel, “They have rejected Me from being king over them…… Make them a king.” [1 Samuel 8:7, 22]
But Saul was originally the people’s, not God’s choice.
The Bible nowhere teaches that “the voice of the people is the voice of God.”
But it does teach that when people make demands of God that are not in harmony with His Will, He may grant them to their sorrow, and send “leanness into their soul.” [Psalm 106:15 – “And He gave them their request, but sent leanness into soul and [thinned their numbers by] disease and death.
Amplified Bible : Page 501