The price of a house goes up.
It’s called appreciation, but it mimics inflation much more. Except in certain volatile areas, housing has not been an inordinately good investment, but it is an inflation hedge. Housing is illiquid, does indeed depreciate, and often must be relinquished to be “spent.” Lack of savings or income so low it precludes savings are more important than housing as a source of inequality.