One verse

Srimad Bhagavatam 8.20.8

8.20.8

यैरियं बुभुजे ब्रह्मन्दैत्येन्द्रैरनिवर्तिभि: । तेषां कालोऽग्रसील्ल‍ोकान् न यशोऽधिगतं भुवि ॥ ८ ॥

yair iyam bubhuje brahman daityendrair anivartibhih tesam kalo ’grasil lokan na yaso ’dhigatam bhuvi

yaih
by whom
iyam
this world
bubhuje
was enjoyed
brahman
O best of the brahmanas
daitya-indraih
by great heroes and kings born in demoniac families
anivartibhih
by those who were determined to fight, either to lay down their lives or to win victory
tesam
of such persons
kalah
the time factor
agrasit
took away
lokan
all possessions, all objects of enjoyment
na
not
yasah
the reputation
adhigatam
achieved
bhuvi
in this world

O best of the brahmanas, certainly the great demoniac kings who were never reluctant to fight enjoyed this world, but in due course of time everything they had was taken away, except their reputation, by which they continue to exist. In other words, one should try to achieve a good reputation instead of anything else.