That being said, there are basic human needs that should be met by any civilization of note. And if a civilization doesn't then it is failing. These needs include the the opportunity to obtain food and water (or food and water itself), basic physical security (for the most part), and in respect to the topic, a place to lay ones head.
Home speculation never should have been allowed to grow to the monster it has become. Ever. Not just because it's morally wrong, but because it is destabilizing. As we found out before and will again.
When you have people sitting on three vacant homes in hopes they will appreciate while others are shitting in the streets and sleeping on sidewalks it's absolute lunacy. We all are entitled by birthright to a little piece of earth. It's our heritage. The current situation is just objectively nuts and will be corrected. Sure as gravity or the sun rising in the morning.
Now, I'm not suggesting to take everything from the rich and give to the poor. I know that doesn't really work sustainability. I also know everyone in the world can't live in the most desirable places. So I'm not making any concrete suggestions at all because I don't have the answers. But what we have going on now is both horrible and crazy.