Az-Zumar · Ayah 50
قَدْ قَالَهَا ٱلَّذِينَ مِن قَبْلِهِمْ فَمَآ أَغْنَىٰ عَنْهُم مَّا كَانُوا۟ يَكْسِبُونَ
Those before them had already said it, but they were not availed by what they used to earn.
Quran 39:50 (Az-Zumar) · Saheeh International, Noor International Center (QuranEnc v1.1.2)