When I last rented (in a very high cost of living area), my rent was 2500 and I was faced with a 300/month increase on the renewal of my lease.
I bought a place in an area that is roughly an (almost) as high in demand. Much nicer, 3 times the size. The mortgage was 2000/month. Add taxes and HoA and It's about 3000/month. There is some maintenance and I have to pay for my own repair, so my housing budget is about 3500 a month.
That was several years ago. I can look up the listing for the apartment I used to rent (large building, lots of units on the same floor with the same plan and they have a website). It hovers between 3000 and 3500/month these days.
Except I can deduct about $5000/year in taxes from my mortgage interest and the property taxes (though starting this year I won't be able to do the later anymore because of caps). And on that 3500/month I pay for housing, about $1500ish goes in principal. So effectively, the place costs me about 1500-1600/month. Add that property value is up drastically in the area over the last few years, and I'm living here somewhere between "for free" and "at a profit". That's a heck of a lot cheaper than renting.
There was the matter of the downpayment. I got pretty lucky in some of my stock investments, but the above is hard to beat (and the only reason I have so much money to invest IS because of how much cheaper my housing is now compared to what it would be). Oh, the condo association is letting me stick a solar array on the roof, which is also a fine investment even with the new tariffs. Landlord wouldn't have allowed it. If I ever need to leave or cash in, I can flip the place on the market in a day (well, plus like a month for the closing I guess). I can rent it too for a sweet added profit.
All in all, renting is expensive as hell.
Having also recently bought a house, my repayments are comparable to rent, and double up as an investment.