that’s a very grim way of looking at goodness. Of course doing things you believe are making a positive change makes you feel good, of course helping your community makes you feel good, and it does feel nice to be recognised and known as a good person.
It’s a strange ambient idea in our society, that to be truly good you must suffer, and never find joy in the good things you do. Not to turn conspiratorial, but to me it sounds like a cope from actually selfish people who look at people who do nice things and think to themselves “they’re only doing it to be popular and feel good about themselves, why else would anyone do anything”
Egoism isn’t a positive or negative word. It is a word that describes human behaviour, and anyone who declares it to be positive or negative would be wrong. Egoism is something that makes you happy, or gives you a feeling of gain or happiness.
This isn’t the standard definition of egoism, but I like to think about it this way.