It's a common misnomer.
Inflation is good for assets once those assets have been valued using an inflation appropriate discount rate. Housing rate now is priced based on a 2% discount rate, not 7%.
After the asset is priced appropriately for the current discount rate, then inflation is good for valuations.
Median wages drive home prices in the long run. It's possible home prices can be sustained if we see median wage rapidly gain over the next few years. Gasoline going up and driving CPI inflation doesn't make housing more affordable. Only increase in incomes/buying power.
Example: the 10y treasury was recently at 1%. If you bought that as an inflation hedge you would have lost a lot of money. Once people realize inflation is here to stay, they won't accept lower rates of returns.
Now it yields 2%, and soon likely 3%. Holding cash is better than holding a treasury during the repricing phase. Same logic applies for other assets.
Real home prices were super low in the 70s relative to today. Also wage inflation was very strong. I believe wages doubled over the decade. That alone implies a 2x gain in prices ignoring changes in discount rates. Not the same at all.