Sure Az-Zumar

39:50

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

Das haben bereits diejenigen, die vor ihnen waren, gesagt. Aber nicht nützte ihnen, was sie zu. erwerben pflegten.

Tafsir 39:50

This statement was made by the disbelievers before them, but the wealth and status they earned was of no use to them at all.