This is bizarrely incongruous with the news about living conditions experienced by people who are homeless, disabled, etc. Anyone who isn’t working is going to have a worse experience than almost anyone who was working a century ago - even coal miners got to sleep indoors!
Being unemployed does not result in homelessness unless you also join it with either a drug addition or an aversion to the requirements of unemployment/shelter programs.
You’re assuming that those programs are well funded enough to have space available, it’s safe, and doesn’t come with the expectation of working. I don’t know where you live but that’s a long way from being universally true in the United States.