[Matthew 6:19, TNIV]
Do not store up for yourselves treasures on earth, where moth and rust destroy, and where thieves break in and steal. But store up for yourselves treasures in heaven, where moth and rust do not destroy, and where thieves do not break in and steal.

[Tao Te Ching 44, Ursula Le Guin]
Which is nearer, name or self?
Which is dearer, self or wealth?
Which gives more pain, loss or gain?
All you grasp will be thrown away.
All you hoard will be utterly lost.

The parallel sayings are similar in exhorting us not to store up or grasp things, or become attached to reputation or power. They both point out the transience of a purely material life, and the need to develop a deeper and longer view of lifes purpose.