Consistently investing in an S&P 500 ETF has been one of the surefire ways to build wealth over time.