You buy shares in the stock market, not dollars, so a crash shouldn't hamper your ability to retire, unless you want to retire during the crash itself (although diversity of assets would help with this).
The stock market recovered years ago from the Great Depression and is doing really well again.
The stock market recovered years ago from the Great Depression and is doing really well again.