This has been a habit world over.
Do you know, one third of the food thrown comes from our fridges. And nearly one fourth of the food thrown comes from shops where they throw away the foodstuff because it has past it's expiry date. This tendency to hoard is there in the world.
I would say, be spontaneous. If you feel like keeping it, keep it. If you feel like giving it to someone who appears to be very hungry, you can give them.
You don’t have to have a fixed idea, ‘I should always keep the banana to myself and not give it.’ This is no good. Neither you should think, ‘I should always give it’, that is also no good.
Be easy, take it easy, and sometimes do this and sometimes do that.