This is written from the perspective of someone who doesnt have kids or other ties that reduce flexibility (and from that perspective I agree a house is a huge liability in term of being able to make big life changes). It also sucks if you have neighbors you can't stand.
The main advantage of a house imo is that you can't typically rent something comparable, at least where I've lived. The rental market for 4 bedroom houses is tiny compared to the number for sale.