Extreme mental and drug issues are always in the picture with those outcomes, though. The real "safety net" when faced with the possibility of real homelessness is to get the hell away from uber-expensive places like SF and move to at least a semi-rural area where getting access to good shelter is going to be orders of magnitude easier. These are not bad places or areas of poverty or marginalization, people have literally been settled there and building functional livelihoods for generations.
You say "move", but you must mean "get moved" since homeless people aren't known to have the finances required to travel to another city
This doesn't make any kind of sense. There's plenty of homeless people outside of expensive cities.