Every thing happened, happens for a reason. Even we don't know, or don't understand or don't accept the reason right now.
In the moment of whirlpool of thoughts, we may feel angry--- on the fact that there a world out there beyond our control.
We may throw tantrum like a child, blaming everyone & including ourselves.
But, hold that faith--- that one day as we mature, we will finally understand why some things don't happen the way we wanted.
" ... Because God has got better plan for you." A friend would always says.
Things don't happen to us, they happen for us ;)