In 2007, the commodities index started rising sharply just after the market top. You should have sold your stocks just before that last increase in the commodity index. When there's a bubble brewing in commodities, you should sell.
Markets crash when commodities sharply rise then fall.