I want to add that, because so many people here struggle with sadness and isolation as I sometimes do--I know it is not easy.
My struggle lasted at least 8 years and still comes and goes. It is a symptom of unfortunate behaviors/decisions (we need to forgive ourselves and change or perhaps someone treated us badly or we were involved in a trauma that just happened such as a car accident, etc). The situation can be complicated and you may feel stuck.
I now recognize that I can only improve my situation when I get myself into a positive mood. Just being positive isn't the only answer--sometimes we need to reach out, fix things, etc. but I can only make improvements when I get in a positive state of mind. It is a work in progress for me.