Also, drug consumption and mental disorders is very often a result of being homeless. Try having bad sleep in your comfortable home for a few days in a row and see how quickly your mental stability deteriorates and how many bad decisions you start to take (anyone who has insomnia periods will attest)
This is not substantiated by data or even a plausible theory. The kinds of mental disorders that lead to homelessness are not something you can "catch" from your environment.