Attitude is a big piece of depression.
When living alone, you can feel lonely, or you can feel free. Easier said than done sometimes...
When I was 15 in 1970, I fell 65 feet while in some deep woods. I had a near-death experience (too long to bring up here), and woke to find I had a 2 mile walk back to the house. My whole body was clenched like a fist, the back of my head was a bit mushy, and my left wrist was dangling at a peculiar angle. I was in severe shock, but I made it home and my sister got me to a hospital. They found 4 vertebrae exploded from the pressure of landing along with the fractured wrist and skull fracture.
Anyway... fast forward a month, they had me strung out on pills until I got the body cast off 9 months later.
Then the hard part started - getting unstrung. I would delay taking a pill until I was soaked in sweat, but not yet into convulsions. For months I kept increasing the delay until it stretched into several days, when I finally just stopped. The depression was astoundingly bad, but using less harmful drugs (pot & an occasional brain reset with mushrooms) got me through it.
I guess we all have 'war stories'; this was one of mine.