Expecting the world to treat you fairly because you are good is like expecting a bull not to charge because you are a vegetarian.
Lots of good things come to good people, but virtue does not provide immunity to misfortune, which strikes everyone at random times in unanticipated ways.
When your turn comes, don’t take it personally.