Expected maintenance, LOL. Just saying as an older guy if you're not factoring in HVAC replacements, roof replacements, driveway replacements, appliance replacements, even the expenses of major yard work, you will miss thousands per year on average. I'll see these estimates online where people laughably expect to spend less than $1K/yr on home maint, LOL I spend that much on the roof averaged by year, and I spent more than that on one clothes washer this month, and the average appliance is now carefully value engineered not to last more than a couple years. Try like $1K/month on average as an absolute minimum not the online typical $1K/yr which wouldn't even maintain the level of a crackhouse.
Also do not forget time. I only have 168 hours per week minus zillions of things, to enjoy life, and after all the subtractions often there isn't that much time left to enjoy. Yes if I need to replace the tiles in my bathroom I can save a little money doing it myself but even contracting out will be hours of work to design, decide, and coordinate, and who stays home to let the craftsmen into the house and its just a circus. When I rented a bachelor pad, ALL repair work consisted of verbally mentioning it to on site manager and magically things happened, I paid more rent than average for that privilege compared to people who have to sue their landlords for any little thing, but there is no escape from spending lots of time as a building superintendent if you own a house. Buying a house is getting a part time job as a landlord. Its not like the kitchen faucet magically knows its in a owned house so it'll never fail, vs a rental.
I mean, we have to realize the groupthink on HN is that cooking food for yourself is an intolerable waste of time compared to spending two hours in restaurants daily, so owning a house and having to dump many hours into the uncountable sufferings of home ownership must be completely unacceptable; rent a nice place and "invest" about five minutes a month into telling the manager what he needs to do.
The second to last measure is many lifestyles require real estate. Not everyone wants to live life with no capital goods other than a mobile phone. I'd be pretty unsatisfied with life without my table saw and lathe and garden and ham radio antennas and a couple other things that simply require land to be realistically practical, aka go buy a house and do your hobbies in it. For all practical purposes in the market I live in you can not have a dog while renting, for example.
A final measure not often mentioned is its just a fun experience to try; Its amusing to reread some of the complaints about home ownership rewritten to apply to having friends, or buying a pet, or having children, or traveling, or getting drunk. I didn't have kids because of an enormous amount of handwaving about how I'll be wealthy if they become child movie stars or historically kids in an agricultural setting were a net financial positive which should mean something in suburban 2010s or some equally ridiculous argument. Owning a house is a VERY expensive hobby, but if you have fun and can afford it and its not hurting anyone else, may as well try it...