Property that you buy for your own personal use is always going to be a money sink, and therefore shouldn't be looked at as a monetary investment. Sure, it might be an investment into your family or your lifestyle or whatnot, and that's a reasonable
expense to manage for that reward. But it still is an expense. There's a chance that you'll come out 10s of K "ahead" at the end in selling your own family home, but divide that over the number of years you've lived there and subtract out all the repairs and related expenses, and it's not great in the vast majority of cases.
Heck, subtract out all the interest you paid on your mortgage, and you're nearly guaranteed to be in the red, if you're not buying places for cash.
The only way to look at a house as a monetary investment is to actually seek to make money directly off of it; namely flip it or rent it. Don't sit on it and think it's going to be a significant financial positive for you. Value it as your home, and as an expense you deem worth it.