Unfortunately housing prices are rising so fast that saving for years doesn't necessarily get you there, unless median income is close to ~1M by my back-of-envelope calculations, which include:
- taxes (1M is close to 500K after taxes)
- money that you need to cut out and put into retirement to sustain yourself from age 65-100
- living expenses and rent until you buy
- real estate prices rising the whole time