Unlucky = lucky
Most of the so-called "unlucky" events in our lives are actually good ones. At least they can easily be framed as such.
It's a paradox.
But all it means is that we often tend to label events as good or bad too prematurely. We make assumptions without really going any deeper.
It essentially boils down to the adage - "What doesn't kill me makes me stronger".
Bullshit is uncomfortable and annoying but it's what makes us grow. If it feels painful, it means you're not used to it. The only cure is to get more of it - until you stop caring about it.
So, view the "unlucky" events as lucky - they build your character.