In other words, homelessness is very often not a root problem but a symptom of other underlying problems.
What's your policy towards them?
You said that homelessness is a symptom of underlying problems, which is true, but also said, "You need to address the issues that cause people to act like that". Sure, this will work for some, but not others.
I am genuinely asking what you propose to do about the people for whom this is not feasible or possible - whose underlying problems we cannot address.
This is serious stuff which no government wants to touch with a 10 ft pole. When you go down this train of thought it gets pretty dystopian pretty fast. So far we have used the law to judge these people and their actions. But when mental health and poor upbringing is considered, the law is an extremely blunt tool for the job.