فَمَآ أَغْنَىٰ عَنْهُم مَّا كَانُوا۟ يَكْسِبُونَ
Commentary:
The verse means to say that though the people of Salih built big houses and huge buildings and felt themselves secure, yet actually these very buildings proved the means of their destruction, for the Divine punishment came upon them in the form of an earthquake, and so the hugeness of their buildings added to the severity of their calamity. The verse thus implies a strong warning for the enemies of the Holy Prophet to the effect that they should not rely on their wealth and possessions as a means of protection against the wrath of God, because when Divine punishment comes, material means and resources, instead of being a protection, actually prove the ruin of those who possess them.