Donating money because you simultaneously care about other people and also want to feel better about yourself is fine. 약간의 자랑도 괜찮습니다. If a person talks about some charity to which they recently donated money, thats actually beneficial for collecting more donations.