1 Samuel 12:12-25
"But when you saw that Nahash king of the Ammonites was moving against you, you said to me, ‘No, we want a king to rule over us’—even though the Lord your God was your king. Now here is the king you have chosen, the one you asked for; see, the Lord has set a king over you. If you fear the Lord and serve and obey him and do not rebel against his commands, and if both you and the king who reigns over you follow the Lord your God—good! But if you do not obey the Lord, and if you rebel against his commands, his hand will be against you, as it was against your ancestors. “Now then, stand still and see this great thing the Lord is about to do before your eyes! Is it not wheat harvest now? I will call on the Lord to send thunder and rain. And you will realize what an evil thing you did in the eyes of the Lord when you asked for a king.”
Then Samuel called on the Lord, and that same day the Lord sent thunder and rain. So all the people stood in awe of the Lord and of Samuel. The people all said to Samuel, “Pray to the Lord your God for your servants so that we will not die, for we have added to all our other sins the evil of asking for a king.” “Do not be afraid,” Samuel replied. “You have done all this evil, yet do not turn away from the Lord, but serve the Lord with all your heart. Do not turn away after useless idols. They can do you no good, nor can they rescue you, because they are useless.
For the sake of his great name, the Lord will not reject his people, because the Lord was pleased to make you his own. As for me, far be it from me that I should sin against the Lord by failing to pray for you. And I will teach you the way that is good and right. But be sure to fear the Lord and serve him faithfully with all your heart; consider what great things he has done for you. Yet if you persist in doing evil, both you and your king will perish.”