Surah Az-Zumar · 39:50

سُورَةُ الزُّمَرِ

قَدْ قَالَهَا ٱلَّذِينَ مِن قَبْلِهِمْ فَمَآ أَغْنَىٰ عَنْهُم مَّا كَانُوا۟ يَكْسِبُونَ ۝٥٠

The same did say [to themselves many of] those who lived before their time; but of no avail to them was all that they had ever achieved:

Translation: Muhammad Asad