That might be one of those "true but meaningless" facts.
1. The housing shortage doesn't mainly manifest as homelessness, but as housed people crowding into existing places and rural people not being able to afford to move to higher paying jobs in cities. So the number of homeless is relatively small.
2. The empty houses are in depopulated rural places where there is no reason to live.
A number I see thrown around is that California is "missing" 3 million homes right now, and people keep moving in.