My mortgage + insurance + taxes is a lower monthly payment than what my rent was at the time I bought my house. Compared to that same unit renting today, its several hundred dollars a month cheaper. It has over twice the square footage and a private garage. This is in a pretty big metro area, not the middle of nowhere.
One of the biggest benefit of owning is a hedge against housing inflation. Its not a perfect hedge, I do acknowledge. As property values increase my taxes go up, as housing materials increase in cost the cost to repair it goes up. But the amount my taxes will go up in a year is far less than how much I've been seeing rents shoot up.
You're also shouldering maintenance which is often not calculated well; the depreciation allowance the IRS allows for rental properties is a rough estimate but it's not perfect - it estimates that the property (house, not land) will be worthless in 27.5/30/40 years, depending on if you take GDS, ADS, or it was placed in service before 2018 - you usually want the fastest depreciation possible but there are reasons not to choose such, involving capital gains on sale, etc.
They're "small" expenses but if you track out the various things and divide them over the ownership period, they do add up.
E.g. - current house, here 5 years, so far: furnace and A/C, $9k, fence, $14k, landscaping and misc, $2k, tools and supplies, $3k, plumber and window repairs, $2k. So about $6k a year, double my taxes and half my mortgage again. And I haven't even hit the big ones (and didn't count appliances as those were "optional" purchases).
Owning is still a good idea for many, and has benefits, and renting will almost by definition be more overall, but it's not a given. You note the main advantage - stability. If you're on a fixed loan (whether it be 5, 10, 20 or 30 years) your payments are calculable years in advance and you get to pay much with tomorrow dollars, which are almost always worth less than today dollars.
But you do have to want to stay in the area for years.
Did you account for the opportunity cost of your down payment? If you chose to continue to rent, you could have invested your $100k or whatever down payment in the stock market for ~7% a year.
On the other hand, you have to count the mortgage interest as a cost but not the mortgage principal repayment.
The increase in valuation in my house far exceeds 7% annualized. Compared to index funds and other investments over the few years I've owned it's far outperformed any other "investment".
Obviously, this won't hold true for all time-frames, and I'm not even necessarily a fan of thinking of primary residences as investment vehicles, but if you're going to compare it for opportunity cost it's still not necessarily a home run comparison.
Due to house values rising considerably in the years we've owned, it's actually pretty high considering we're only a few years in. We only put 10% down but we were able to get rid of PMI in only a year because of home prices skyrocketing.
One of the biggest benefit of owning is a hedge against housing inflation. Its not a perfect hedge, I do acknowledge. As property values increase my taxes go up, as housing materials increase in cost the cost to repair it goes up. But the amount my taxes will go up in a year is far less than how much I've been seeing rents shoot up.