(Al-Hijr) 15 : 84
فَمَا أَغْنَىٰ عَنْهُمْ مَا كَانُوا يَكْسِبُونَ

So nothing benefited them from what they were earning.

The historical events between Swalih and his people are explained in verses 11: 61-68. See explanation 7: 91; 9: 82 and 11: 94-95.