Surah Az-Zumar, ayah 50

39:50

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

Qad qālahal-ladhīna min qablihim famā aghnā 'anhum mā kānū yaksibūn

Those before them had already said it, but they were not availed by what they used to earn.