According to Osho, don’t fight or feel guilty about greed; simply become more conscious. Greed springs from fear of death, so any attempt to “be non-greedy” only deepens it. Turn inward, meditate, and realize your deathless consciousness; as awareness grows, greed falls away like dead leaves. From fearlessness comes natural sharing, not possessiveness.
Just notice your greedy feelings without guilt, keep meditating and becoming aware, and as you feel safe beyond death, the need to grab will fade by itself.