I've been close to the edge in the past, a few different turns of luck and I could have easily been on the street. Fighting off thoughts of self-imposed euthanasia was one of several Bad Things I went through.
At any point during my worst struggles I would have happily checked myself into a competently run mental facility for long term, inpatient care. There is no such place.
Folks in these situations, without intervention, end up either dead or on the streets. Once they realize they can actually continue existing without being trapped in a constantly uncomfortable dystopia, they might find they are able to smile when offered a free meal, and relax into the generosity of others for a few minutes. After they've spent countless hours fearing for their safety and exposed without shelter while getting dirty looks from hordes of strangers, I think that's probably a little bit okay.
I suspect a lot of that is just pride. It's very common for people to say that they'd rather be doing what they're doing than something else, even when that's not the case.
The reason it was depressing wasn't what you'd expect, I had expected to feel sorry for them but in turned out that the vast vast majority of them were perfectly happy to be homeless they had no want for a better life, they just wanted handouts and felt entitled to them, it was really a strange experience that stuck with me.