"Stock market is up" is bad for most people. It means the effort they put into producing something didn't get paid to them, instead it got captured by a parasite. [this does not apply if wages increase proportionally, but they never do]
Now yes, if there is a real productivity boom that can be good both for people and the stock market, but otherwise they are uncorrelated.