Allowing homelessness to exist at its present level serves a purpose in capitalism of making sure that wages stay low or at least stagnant as workers realize they may face this if they don't stay obedient enough to employers as well as providing a class of wage slaves-the actual homeless- who are desperate enough to accept dangerous, unhealthy, shit jobs that people with homes would refuse to do.