We prayed for a righteous and upright leader, and the Lord provided that - for His purposes. Now, He has permitted an unrighteous and haughty leader. This too will be for His purposes. The Lord giveth, and the Lord taketh away. Blessed be the name of the Lord.
It is hard to understand but we have to hold on to the fact that all things work for good for those who love Him.