> Housing prices are constantly rising
Housing prices typically appreciate up with inflation over the long run, although local markets don't always follow the same pattern. (IE, Silicon Valley is a case where real estate appreciated faster than inflation.)
Remember, it's over the long run. There can be periods where a house will appreciate faster than inflation, and other periods where the real value of a house doesn't keep up. If you understand this dynamic, you can make a lot of money. (IE, flipping and then becoming a landlord when the market turns.)
Since the not-yet-homeowner is no doubt paying rent, home appreciation can slip by some measure below the rate of inflation and still have been a wise investment.
Of course there is home insurance and repairs to consider. But also there is the increase in rent to consider on the other side as well.