The housing market isn't subject to as much of the same volatility as the stock market. You don't have the same earning potential, but you can count on a steady incline most of the time.
When you have enough rental properties going, you can generate a reliable revenue stream for your business.
Real estate investors can deduct all sorts of expenses from their taxes, including mortgage interest, depreciation, property tax, and more.
Over time, most properties will appreciate in value.
From 1991 to 2019, the S&P 500 gained over 600% while housing prices increased only about 160%.
If you really want to get a steady income stream going, then you need enough cash on hand (whether your own or loaned) to pay for building improvements, maintenance, possibly a management company, and more.
You can't turn a property into cash quickly like you can when you sell a stock.
Whether you hire a property manager or manage it yourself, running a property is full of unexpected problems with overdue rent, roof leaks, power outages, and more.