It would be good if no one had to be homeless. There are perhaps multiple ways to try and help end undesired homelessness.

One could donate money to charities.

See also