Having a roof above one's head should be a right, not a privilege. It becomes even more of a privilege when people view real estate as investment. They want to profit. For example, in Toronto, there are lots of apartments that are 'unrentable' because they were so badly designed that it's awful. They were built for investors to sell.
Think of a studio costing 600k. Who wants to pay 600k for a studio? Like, where would someone be in life that they can spend 600k? I'd assume the majority would be married. They won't want a studio. Values are reversed. It's profit over welfare, unfortunately.
Lots of people that went to shelters prefer the streets because of several issues with people in the shelter. Violence, substance abuse, theft, etc.
It's not like they prefer to be on the streets but sometimes that's the best option.
I'm not saying that this is the case for everyone on the streets; I'm saying that it is a fact that it happens and some people prefer the streets over shelters because of that.