*sigh*
I'm always very leery when I see folks advising people, especially Black people not to buy homes....have y'all been paying attention???
Putting aside investment properties because it seems that the OP is comparing dropping a down payment on a house vs investing that money and continuing to rent.
The median house sale in September 1989 was $120,000 per the
US Census so 20% of that would be $24,000. People always look at how much more than that purchase price you end up paying the bank, but that's faulty, so let's play this out. With a 5% fixed rate 30 year mortgage, your monthly principal+interest payments would be $515.35. Over the course of the 30 years you would've paid the bank $185k to borrow that initial $96k. But you also have taxes, the median per
this site is 1.2% of the home's value (escalating monthly per the US Census data, so yes your taxes will increase over time), and maintenance, which I'll assume is 1% of the home's value, again escalating (1% is probably way to high too, but it's about $61k over the 30 years, so maybe not if you include a major kitchen or bathroom upgrade in that timeframe). Over the course of those 30 years, you would have spent $346k (including the downpayment). If instead, you chose to rent, following
this escalation in median rents in the US, you would have spent about $342k over those 30 years. Note that the 1989 rent is $600 while the 1989 Mortgage + taxes is about $640, so comparable with the home being a little more expensive monthly....at first. The costs of living expenses in each scenario is pretty much a wash over these 30 years.
Now, the rental spend doesn't include the $24k, cuz the OP is saying invest that. From Sep 1989 to Sep 2019, the S&P 500 rose by 315% (11% ARR turning your $24k to about $100k)) per
this site while the DOW Jones rose by 387% (13% ARR turning your $24k to about $117k)
per this site and the NASDAQ rose by a whopping 724%
per this site (which is a very healthy 24% ARR over 30 years). So let's say you had the foresight to invest heavy in tech in 1989 (i.e. the NASDAQ) and saw your $24k investment blossom to about $198k in 30 years.
The buying route saw you spend $345k including the $24k downpayment. The house you bought in 1989 for $120k is now worth $299k (again using the US Census data for the median house in September 2019). $299k from an initial investment of $24,000 is a 38% ARR. Then when you consider the tax implication (you're not taxed on the first $250k of profit from selling your official residence; $500k if you're married vs paying ~15% capital gains taxes) and it's clear that the home buying route is the winner.
Of course there are a lot of variables, but you would've needed a damn good investment prospect to beat out the long term returns associated with owning your home.