39:50

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

Transliteration:

Qad qalaha allatheena min qablihim fama aghna AAanhum ma kanoo yaksiboona

Word by Word:

Indeed, said it those before them, but (did) not avail them what they used to earn.

Translations:

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:

Thus did the (generations) before them say! But all that they did was of no profit to them.

Those before them said it, yet (all) that they had earned availed them not;

Those before them did say it indeed, but what they earned availed them not.

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