The fact is that, life don't give out what one deserves most times, and depending on people will only break your heart. If you want to be happy, stop depending on people.
I once had a teacher during my secondary school days who told me that, what has kept him going in life is planning for the best and as well planning for the worst.
For the best, in sense that if things goes well life continues.
For the worst, in sense that, if things turns the other way round, I doesn't get caught suddenly because he has plans for it too.