Al-Hijr • EN-AL-JALALAYN
﴿ فَمَآ أَغْنَىٰ عَنْهُم مَّا كَانُوا۟ يَكْسِبُونَ ﴾
“and of no avail to them was all [the power] that they had acquired.”
And so that which they used to count as gain in the way of building fortresses and amassing riches did not avail did not protect them from the chastisement.