Return on capital from rental almost never exceeds return from an index fund.
And it certainly never exceeds that return when you factor in hours of labor you spend. Yes, there are anecdotes of get rich rental bros, but on average you will not be a lucky one.