I bought a house at the end of 2020 for $430k with a loan of $337k.
I can't borrow more than that now, my real income hasn't increased, I still have the same sorts of liabilities and expenditures that I had then.
So even though my house is now worth maybe $700k, if I want to move, I have to find a house that I can buy for $700k.
I have paid off something like $20k, so maybe I could find a house for $720k and move into it.
Thus the only way I can move into a bigger/better house is to move somewhere that $720k gets you something bigger/better than in my current location.
But guess what? House prices are up everywhere. You might be able to find some lucky arbitrage opportunity, but you're not going to get any sort of noticeable increase in quality and size.
The advantage of owning a house versus renting is therefore not that you benefit from the rising price of houses, but that your buying power moves with the market and your "rent" is limited to the interest you pay on your loan (because you're paying down the principal as well).
When you're renting, you're flushing your money down the toilet plus trying to save enough for a deposit relative to a market price that accelerates well beyond almost everyone's capacity to save.