My counter-argument would be that when you rent, 100% of expenses for repairs and maintenance are borne by someone else, but if you have a mortgage all of those expenses are your own.
Different cites have different ratios between rent and mortgage, with some similar, some higher rents, some higher mortgages. I don't know any cites in which rents require a 20% down payment, though.
Finally, when comparing potential returns, and remember that neither the stock market nor future home equity are guaranteed, don't forget that down payment! Many people focus on the month-to-month after closing, and forget that if they put that lump sum into an index fund rather than into a down payment, they'd be able to (after 12 months) sell shares over time and take income from the index fund in a way they wouldn't from the house without selling it or taking out a HELOC loan.