58 This is what the LORD Almighty says: “Babylon’s thick wall will be leveled and her high gates set on fire; the peoples exhaust themselves for nothing, the nations’ labor is only fuel for the flames.”

Read Jeremiah 51:58 Using Other Translations

Thus saith the LORD of hosts; The broad walls of Babylon shall be utterly broken, and her high gates shall be burned with fire; and the people shall labour in vain, and the folk in the fire, and they shall be weary.
"Thus says the LORD of hosts: The broad wall of Babylon shall be leveled to the ground, and her high gates shall be burned with fire. The peoples labor for nothing, and the nations weary themselves only for fire."
This is what the LORD of Heaven’s Armies says: “The thick walls of Babylon will be leveled to the ground, and her massive gates will be burned. The builders from many lands have worked in vain, for their work will be destroyed by fire!”