Greed is an imperfection that defiles the mind; hate is an imperfection that defiles the mind; delusion is an imperfection that defiles the mind.
When one, abandoning greed, feels no greed for what would merit greed, greed gets shed from him - like a drop of water from a lotus leaf.