Surah Az-Zumar 39:50
قَدْ قَالَهَا ٱلَّذِينَ مِن قَبْلِهِمْ فَمَآ أَغْنَىٰ عَنْهُم مَّا كَانُوا۟ يَكْسِبُونَ
Those before them had already said it, but they were not availed by what they used to earn.
Translation: Saheeh International
Tafsir
Already the same was said by those who were before them of communities such as Korah and those of his people who were content with such a saying. But what they used to earn did not avail them.
Excerpt from Tafsir al-Jalalayn, commentary on 39:50, via Quran.com. The reader has the full commentary and 9 more tafsirs.