If you create shelters where the homeless can stay for the night they don't have to sleep rough in a park or station like that. Of course this won't work for all of them, sometimes people like sleeping rough. But on average it should help, especially in the colder months. They do this where I live and I rarely see homeless in the streets when it gets dark, they're only there during the day to scavenge for cans and bottles with deposits on them or to beg for money.
Shelters are often much more dangerous to the unhoused people than even sleeping on the street. Even when they aren't, they're usually extremely underfunded, overbooked, or both.
It's not that "some people like sleeping rough", it's that oftentimes that's simply the least bad option.
Yup. People forget that while homeless people should be helped, they're also fairly likely to be dangerous. This is ignored every time this screenshot is inevitably reposted every week.