If you would be freed of greed, first you have to leave egotism behind. The best mental exercise for relinquishing egotism is contemplating impermanence.