Many of the bad events in our life are only as bad as we think they are. For example, a child might break down and cry over something as simple as a broken toy, but to them that toy is important. Likewise, even adults might feel like their life is over if someone breaks up with them. However, a slight perspective change can make a world of difference.
Obviously you can’t change your entire worldview every time you drop an ice cream cone (and some events will always be devastating), but some small tweaks to your belief system can help you manage the bad events better. For example, accepting that you’ll be okay if someone breaks up with you, or understanding that failure is necessary and not something you have to fear. Sometimes life sucks, but how you think about the bad times matters just as much as what you do about it.