This is widely believed, but not true: https://fred.stlouisfed.org/series/MEHOINUSA672N.
There is a real issue that housing is unreasonably expensive in many areas, which we could fix via the innovative strategy of not making it illegal to build housing.
Now plot that wage plot against productivity, or corporate profit, or any US stock index, or as you said: housing costs. Real wages are not keeping up with anything. It's not just housing.