Plenty of places don't have 30 year mortgages, variable rates might even be standard there and real-estate is still unaffordable. Until Covid housing was actually quite cheap in the US relative to income compared to many other Western countries. It still relatively is, just compare major US and Canadian cities, the gap is huge.
As an aside: that doesn't work, it just makes houses more expensive.