Bad shit will happen. Shit happens to everyone. It has nothing to do with who you are as a person. But if you're trying to do good and be good, that can be a comfort in trying times, because how you feel inside is what matters when it comes to who you are.
Do you want to be a good person? What does that mean to you; how do you expect a good person to behave? How do you feel when you act against those expectations?
When shit happens you can feel bad because shit happened AND feel bad because you were rude about it.... or you can feel bad because shit happened but ALSO feel good because at least you tried to be kind and understanding and didn't yell at anyone or make someone else feel bad.
I'd rather feel bad (about things) and good (about myself) than bad (about things) and bad (about myself). That is the reward: at least you tried.