How does one remain positive when things go wrong in your life?

A friend has had 2 people that he cared for commiting suicide and he feels responsible.

10 years later he is in a bad situation again where someone accuses him of something that he never did and he struggles to focus at work.

Now he is going to lose his work because od him being unable to focus on the tasks at hand