Where do you see that God was pleased? Where do you see that Cyrus' intentions were to glorify God?
Where do you see that God was not pleased when Cyrus obeyed what God told him to do?
Cyrus' actions glorified God whether that was Cyrus' intentions or not. The point is that God communicated with Cyrus, who was a pagan, Cyrus heard Him and obeyed Him, without being regenerated.
Can the God communicate with people who are not regenerated? Yes. Can they know it and obey? Yes.
2Co 5:20 in behalf of Christ, then, we are ambassadors, as if God were calling through us, we beseech, in behalf of Christ, `Be ye reconciled to God;'
“What unparalleled condescension and divinely tender mercies are displayed in this verse! Did the judge ever beseech a condemned criminal to accept of pardon? Does the creditor ever beseech a ruined debtor to receive an acquittance in full? Yet our almighty Lord, and our eternal Judge, not only vouchsafes to offer these blessings, but invites us, entreats us, and with the most tender importunity solicits us not to reject them.” The Rev. J. Wesley’s notes in loc.
This sentiment is farther expressed in the following beautiful poetic version of this place, by the Rev. Charles Wesley: -
“God, the offended God most high,
Ambassadors to rebels sends;
His messengers his place supply,
And Jesus begs us to be friends.
Us, in the stead of Christ, they pray,
Us, in the stead of Christ, entreat,
To cast our arms, our sins, away,
And find forgiveness at his feet.
Our God, in Christ, thine embassy
And proffer’d mercy we embrace;
And, gladly reconciled to thee,
Thy condescending mercy praise.
Poor debtors, by our Lord’s request
A full acquittance we receive;
And criminals, with pardon blest,
We, at our Judge’s instance, live.”
Quoted from: Adam Clarke's Commentary