Surah Az-Zumar — Ayah 50 (39:50)
قَدۡ قَالَهَا ٱلَّذِينَ مِن قَبۡلِهِمۡ فَمَآ أَغۡنَىٰ عَنۡهُم مَّا كَانُواْ يَكۡسِبُونَ ٥٠
English translation (Saheeh International)
Those before them had already said it, but they were not availed by what they used to earn.
Brief commentary
This statement was made by the disbelievers before them, but the wealth and status they earned was of no use to them at all.