This is not even close to true. It’s regularly recognized that for many people, homelessness is rooted in disabilities, mental health issues, substance abuse issues, or other problems that hurt their ability to keep and maintain a home even if they had one.
It’s not at all a pure supply issue, although supply plays a big role in certain geographic areas. It’s a complex problem.
Keep in mind that even if you own a home, maintenance, utilities, and taxes are expensive.