Selfishness is an ugly, but necessary trait. If you are able to give, then you should, whether it's kindness, love, money, or other material possessions.
Selfishness comes in when you can't afford to share, for whatever reason that may be. Only you know your intention and that's what denotes good selfishness from bad.
Remember that what you give is always returned, good or bad.