Read Jack London's The People of the Abyss. The analysis of capitalism's relationship with homelessness still holds true today.