Yes i definitely agree, for long term equity investment is the way to go.
on real estate if it is for investment, you have an ill-liquid asset, plus you have to pay tax on capital gains tax when you sell, plus regular maintenance charges.
if you compare this with equity, it has tax free over long period, most liquid asset class and no other cost involved.
only thing is you need to select right stocks for investment. ideally in last 10 years, many stocks have given 100 percent returns annually taken cumulatively.