We're getting into the weeds, but the goal is usually to own your home free and clear by the time you retire, reducing your income needs from retirement to death by not having a non discretionary housing payment. The wealth in most homes cannot be tapped until sold, death, or stripping the equity (HELOC or reverse mortgage) and hoping you die with zero.
You can sort of think of a house as an I bond you can live in [1], and the return is the equity gains (historically). You need lots of money to buy land because demand outstrips supply, there is a shortage of ~4M housing units in the US, and the pipeline for building new housing was permanently impaired after the 2008 global financial crisis. We will never build as fast as we used to as we go into structural demographic labor shortages in the US; the value of existing real estate is ancient embodied construction productivity and material costs, similar to how oil is ancient sunlight.
[1] The Rate of Return on Everything, 1870–2015 - https://www.frbsf.org/wp-content/uploads/wp2017-25.pdf | https://doi.org/10.24148/wp2017-25