Of course it also means accepting a lower spending rate in one's life.
[1] http://awealthofcommonsense.com/2014/02/worlds-worst-market-...
Start here - https://www.bogleheads.org/
There's no way you lost money if you were in the S&P 500, unless you were pulling it out of investments after crashes - in which case, duh, you're buying high and selling low, what did you expect?
And that's if you were only in the S&P 500... a more reasonable retirement portfolio is much more diversified, which would have increased your returns and lowered your volatility.
If anything, during good times it may make the most sense to store value in liquid accounts and wait for fire sale prices when the economy craps out. But some consistent growth is better than none, due to dollar cost averaging (i.e. you don't know whether asset prices are going to go up or to go down) [1].
Take someone who was doing pretty good during the tech and real estate bubbles, and decided to invest their spare change in 1998, 1999, 2005 and 2006, but did not invest in the "leaner" years. I bet that person overall would have lost money on the stock market. Oh, wait, I can tell you that that person would have lost money, because it was me!
I'm so tired of the constant drum-beat of "The only way to retire is to invest in the stock market!!" that only seems to serve the interests of Wall Street. I wish there were viable alternatives.