Do the math and you'll find that putting your money in an index fund almost always beats real estate, with much less risk and much less work.
It's easy for one property to underperform the market by a lot. It's hard for an index fund to do the same.
I own a $1.5M rental home in a luxury destination and profoundly regret it. The amount of work I put into it was enormous. I'm not outperforming the market, and I can't sell it because the mortgage rate is 2%.