It's more cost-efficient and effective long-term to prevent people from falling into homelessness. And affordable housing is widely viewed as a major root cause. [1]
Yes, people on the streets should be helped. But if 4 people fall into homelessness for every 1 person place in permanent supportive housing (this is the ratio in SF [2]), we will never "solve homelessness."