I bought a home in 2017 and considering what I have spent on down payment, mortgage, taxes, insurance, and standard home maintenance and improvements in the last six years if I sold it today I would still make about 35% more than all the cash I have put into it so far. My home is simply not an expense, it’s a savings account I get to live in.
Of course YMMV…