Why do bad things keep happening to me?

So first I get rejected a role in this performance, then I fall out with one of my bestest friends, I’m failing everything in school, then my boyfriend breaks up with me and not even a few hours later my step-grandma dies.
I just feel like I’ve been cursed or something and I just want to have good things happen to me again. I’m genuinely not a bad person, I try my best to do good things often. And I know people are going to comment and be like “that’s life, get on with it” but it’s only been very recently where things have been going wrong all at once. What can I do?
Why do bad things keep happening to me?
Post Opinion