They're connected, but not the same. The stock market has been doing very well for the last few years, but none of that wealth has come down to many people. Conversely, I've lived through many stock crashes which affected my life not at all.
The economy is not the market.