I don't disagree with that idea but it doesn't mean that God endorses the leaders or their actions. God also punishes nations by giving them bad leaders - hence my tagline.
“He changes times and seasons; he sets up kings and deposes them. He gives wisdom to the wise and knowledge to the discerning.” Daniel 2:21
“Everyone must submit himself to the governing authorities, for there is no authority except that which God has established. The authorities that exist have been established by God.” Romans 13:1
“Praise be to the LORD your God, who has delighted in you and placed you on his throne as king to rule for the LORD your God. Because of the love of your God for Israel and his desire to uphold them forever, he has made you king over them, to maintain justice and righteousness.” II Chronicles 9:8 (re: King Solomon)