Homelessness is not a trivial problem, full stop. There is no way around this. It can be lessened with extra housing for those who are only homeless because of cost of living, but that doesn't get to the root causes of what causes people to lack funds for housing and such.