You mean like in Sweeden, where you have to wait 20 years for assigned flat?
Europe has no homelesness, because migrants are housed at hotels at great expense!
You mean Stockholm. You can buy, wait 20 years, or find a private building owner. But same problem, not building enough.
I mean better than having no assigned flat at all....
That's due to moving away from the government ensuring an adequate supply of rental units over the last decades. Intentional free market style policies.