If we go back past the 1900's, the only workers that consistently owned their own property were farmers. Mortgages didn't become a thing until after the 1860's, and it wasn't until the 1890's that they became common. Before mortgages, workers did not have the lump sum of money required to purchase a home.
I lived in Paris a few times in my formative years. It's so bad there that, believe it or not, there were homeless who had jobs. Literally. homeless who had to go to work.
It was insane from the perspective of a young American.
EDIT: Changed some slang words to American english.
People living on the street or out of their vehicles in the US work, too. Exact numbers are hard to get, though.
https://www.npr.org/2018/09/30/652572292/working-while-homel...
https://www.cnbc.com/2021/02/28/nomadland-amazon-rv-workforc...