https://www.whitehouse.gov/wp-content/uploads/2021/09/figure-1.jpg
It's not so simple..
Like if you had bought a house in 2005 you'd have been stuck in it for a long time unless you are willing to take a loss. Offcouse in the long term prices are going up, that's inevitable with inflation and our current system.