It is reported that ‘Alî b. Abî Tâlib – Allâh be pleased with him – said:

Goodness is not in your wealth and offspring being plentiful; true goodness is when your [good] deeds are plenty and you have great understanding and forbearance, and when you compete to worship your Lord. If you do good you praise Allâh and thank Him, and if you sin you beg Allâh’s forgiveness. There is no good in this life except with two types of men: A man who sins but then corrects himself through repentance, and a man who strives and hastens to get [the good] of the hereafter.

Ibn ‘Asâkir, Al-Tawbah article 13.