Of course, real estate investment is good for the future. I do presume you are speaking about rental strategies (i.e. buy-and-hold) - as compared to a quick fix-and-flip.
Fix-and-flip is short term income, not a long term growth strategy.
Rental strategies have some serious benefits. You can learn a ton at https://www.biggerpockets.com. There are tax deductions, the ability to "cash out" via re-finance, meanwhile you can also put in equity in terms of rehab.