You grow as a person when you are challenged – painful experiences can inspire you to change your own perspective of life. In fact, you can become happier because of all the sadness, more confident because of all your insecurities and more empowered and free because of all the debilitating fear.
Everything is of value. Everyone that comes into your life can enrich your life by inspiring you to grow as a person. You would not be the strong person you are today without all those awful situations. The kindest and most forgiving person can be the one who had to go through the most painful of situations. Remember that you might feel broken and shattered right now, but that can become the solid foundation on which you build your inner strength.