How can the wrath of man praise God?
It happens when God turns the tables of our worst intentions. Our power plays do not honor God unless God enters in to exercise His sovereignty -- which He ultimately does.
Don't worry so much about the wicked kings.
They shall not prevail in the end. Give your allegiance to the King of kings. Let nothing keep you from worshiping with full engagement.
"Surely the wrath of man shall praise you;
the remnant of wrath you will put on like a belt.
Make your vows to the LORD your God and perform them;
let all around him bring gifts
to him who is to be feared,
who cuts off the spirit of princes,
who is to be feared by the kings of the earth."
(Psalm 76:10-12 ESV)