Living every single day being treated as a literal piece of disposable garbage by everyone around you, all while not having a quiet place to sleep or a little piece of the world to call your own can damage one's mental health to the point where they can no longer function as productive members of society.
You've experienced homelessness, so you shouldn't need me to tell you the consequences of living that way long term.