There are a lot of articles published saying half of New Yorkers are a single paycheck away from homelessness, 60% of Americans are a single emergency expense from homelessness, etc., but every month lots of those people lose their jobs and have emergency expenses, and they aren't flooding onto the street or into emergency shelters. Those alarming-sounding numbers come with really important caveats like "without relying on family" and "without relying on friends" or even "without going into debt." Having access to those resources is a really important aspect of social class. Even the people shitting in the sidewalk in San Francisco, a lot of them have friends and family who have money and would love to help them if they could figure out how. The difference when you're homeless in India is that everybody you know is either in the same circumstances as you or knows so many people who are that it doesn't make sense to single you out for help.
Where the US system fails is with mentally unstable people and drug addicts. This is nowhere near the same thing as an entire lower class of 10s of millions willing to work that are still homeless.
If you don't believe this, I challenge you to drop yourself into 0-star in any place like India and see how it stretches you.