If we want great things to happen in our lives, we need to stop putting up negative barriers.
If you want crappy things to stop happening to you, then stop accepting crap and start demanding better things.
If you believe you are not worthy of greatness, how can you expect great things to find you.
Start believing you are capable and deserve amazing things in your life, and open the door to happiness.
Of course, not everything is black and white, bad things happen to good people, and sometimes it appears bad people are never punished, however I firmly believe that the universe is a giant magnetic force field.
If you put out negative thoughts, negative actions will find their way to you. Think positively and good things and people will naturally be drawn into your life.