God is sovereign. He is in control of all actions and movements of people and nations on Earth. He controls and directs kings, rulers and governments to accomplish His will on Earth. God’s will is to accomplish the salvation of His chosen—the elect—His servants who love Him. (All bold are my emphases added. Square brackets [ ] indicate meanings of words. King James Version Easy-Reading Bible (KJVER) used.)
We read in the book of Isaiah:
Isaiah 45;1 Thus says the LORD to His anointed, to Cyrus, whose right hand I have held, to subdue nations before him; and I will loose the loins of kings, to open before him the two leaved gates; and the gates shall not be shut;
The Lord God, the God of Israel, calls Cyrus king of Persia His anointed. God said He would give him victory over his enemies and give him treasures and riches (Isaiah 45:2,3). The Lord said He did this for the sake of His chosen ones of Israel.
Isaiah 45:4 For Jacob My servant’s sake, and Israel My elect, I have even called you by your name [i.e., Cyrus]: I have surnamed [i.e. to give a flattering title] you, though you have not known Me.
Though Cyrus did not know the Lord God, the Lord called him by name and set him up as ruler over the kingdom. Cyrus, and king of Persia, in confederacy with the Medes, conquered Babylon, which had already conquered Judah and taken many Jews into exile.