You are correct but this point can be overextended. When the stock market crashes, companies lay people off, retirees’ income goes down, interest rates and prices shift.
The stock market isn’t the economy. But it is connected to almost everything in the economy, and regular people are affected by it: it isn’t just a casino for billionaires.l (although it is certainly that).