On my first home, I put $5,000 down on a $96,000 house. I owe $40k (15-year mortgage) and it's worth $180k. Subtract $20k in seller costs, and $20k in expenses over the past decade and I have $100k in equity.
That is about 6x better than just investing the $5k in the S&P.