Even if you don’t live paycheck to paycheck, the life style of owning a place AND living off your investments, is extremely hard to pull off.
You most likely need to be single (or couple both in tech), no kids, making FAANG salary, living frugally (no travel, no expenses outside of food, shelter and necessities). Or you need to use geo arbitrage, which again means probably no kids, while being able to secure a high paying remote job in the US.
I wish it was more affordable, but it’s not. Therefor advice like “buy a house and live off your investments” are equivalent to filling a winning lottery ticket.