However, it's missing something I think is important. In my case we have a £335k home at 1.6% interest which means every year we pay £5000 in interest, but we paying off around £15000 of the principal on the loan. After 10 years we could sell the house, spend the £150k+ (assuming the home value stays the same) we've paid off on a sailing boat and head off around the world or whatever takes our fancy.
If we'd have rented we might have been able to save maybe £200 a month in outgoings. Even invested in index funds it's unlikely to come close.