It sucks that something like that happened to you, OP, but even if your intentions were nice, there is one thing we can't forget: Help is something you offer, not something you throw.

Not saying trying to be helpful is a bad thing, but sometimes the most helpful thing you can do is offer silence. Especially if the people you're aiming your help at exhibit some kind of behavior that makes you feel a certain way. If you're trying to help and someone responds to that attempt in a negative way there's no point on clapping back at them or get upset over it, just move on and focus your time and attention to something else more productive to yourself. You're not entitled to their gratitute or their acceptance to your efforts. I'm sorry for not knowing how to word this in a better way, but that's how it is.