The economy isn't the stock market. The stock market is an artificial casino designed for corporations to raise funds without having to deal with banks as much, which in turn are also listed.
If the stock market collapses which it won't, just corrections, farmers will keep farming, miners will...