I've mentioned this before but it's worth saying again: 1 square foot of housing is approximately the same price - adjusted for inflation - as it was in the 1970s, on average. [1] There's a few caveats however.
(1) New houses are 2x bigger on average than they were back then, and the average American family is smaller [1].
(2) City councils, and by extension zoning rules, in major metros preclude construction meaning that supply cannot meet demand. This benefits existing landowners to the detriment of both the next generation and renters. San Francisco is a prime example [2] - SF needed to build 6X as many houses as it did between just 2012 and 2016 just to meet the job growth in the area. This pushes the price per square foot inside metros up way above what they would otherwise be.
(3) Zoning rules outside of major metros, including setback rules and minimum size rules, parking rules, etc, make houses outside metros much bigger. Also, expectations have shifted. This pushes the square footage of suburban homes up - and with it the total price.
(4) This applies mostly in the last few years - but lower interest rates make houses that are more expensive much more affordable on a monthly basis, which is totally fine as most folks end up with a 30 year fixed rate mortgage. A drop from 3% to 2% makes a house about 25% more expensive cost the same amount per month. Yes, it increases down payments, but down payments tend to be up to 20% of the price - so an increase not of 25% but 4%.
So what can we do? Easiest thing is state-wide or federal zoning rules. Build up. Allow smaller homes. [edit](Stop with the mandatory parking.) In Japan, supply and demand meet, and a new 3 bedroom house in Tokyo is like 400K USD [edited for current data] - right around the cost of construction. This is thanks to their federal zoning rules. [3]
[1] https://fee.org/articles/new-homes-today-have-twice-the-squa...
[2] https://en.wikipedia.org/wiki/San_Francisco_housing_shortage
[3] https://marketurbanism.com/2019/03/19/why-is-japanese-zoning...