Not only that but if you’re paying a mortgage you’re not paying rent. Buying means your housing cost is now an investment (minus interest, tax, and upkeep) rather than just an expense. Now it could well be a terrible investment, but in theory you’ll own something of value in the end in addition to the housing you had as you paid.