" How strange it is that a people will get leaders which they deserve. "
Ibn Qayyim (rahimahullah)
“Ponder upon the Hikmah (Wisdom) of Allah (Azza wa Jall) where He has made people's kings, leaders, and those of authority over them, of the same kind as their own deeds. It is as if the people's deeds appeared in the forms of their kings and leaders.
If the people are upright, then their kings and rulers will be upright, and if they turn away (from uprightness), then their leaders will turn against them. And if they oppress and tyrannize, then their kings and rulers will tyrannize and oppress. And if deception and treachery becomes manifest amongst them, then the same will appear in their rulers.
If the people refrain from fulfilling the rights of Allah upon them and become niggardly (regarding their execution), then their kings and rulers will refuse to give them their rights and will become niggardly (withhold their rights from them). And if they take away from those whom they oppress that which they deserve not to take, then the kings will take away from the people that which they deserve not to take and will levy taxes and impose tasks upon them. And whatever the people unjustly take from the oppressed, their kings take the same by force from them.
So those in charge of the people appear in the forms of their (the ruled) deeds. And it befits not the Divine Wisdom that the evil and wicked be ruled except by those of the same kind.
And since the early [Muslims] were the best and most righteous of generations, their rulers were of the same standing. But when the people turned weak, their rulers turned to be of their own rank.
So it befits not the Hikmah (Wisdom) of Allah in these times that rulers the like of Mu’aawiyah and Umar bin Abdulaziz, be in charge over us, and even less the like of Abu Bakr and Umar.
Rather, our rulers are in accordance with our own rank and standing, and the ones who ruled those before us were (also) in accordance with these people own rank and standing. And both matters (the status of the former rulers and those of this time) are as necessitated and entailed by [Allah's] Hikmah.”