Tostino parent
One way is to attempt to take some of the profit motive out of housing. You can still have a private housing market while guaranteeing some base level of permanent housing for the entire population who wants it. Doesn't have to be flashy, but should be a baseline that private housing should improve on if it wants people to spend their hard earned money to upgrade.