Only the banks get free play. Think of the 2008 crash... In a nutshell:
Banks lent money to people they didn't have confidence would pay back the loans (mortgages for the most part). To hedge their bets, banks bundled those mortgages together and sold them to other investors, then shorted (bet against) them. So banks made some money off people who made payments on the loans, then made money again selling those bundles to others AND by betting against those bundles in the market. Then when the market crashed and left others holding the bag... banks cried and said they needed handouts or they would have to fold and completely tank the economy, so the government (i.e. American people) had to bail them out.
In theory long-term investors in the stock market win... but that's not always true. IF, for example, your time of retirement was around 2008 when it all tanked... then you got screwed out of a lot of your retirement and pretty much nobody with any money or power gave one or two shits about you.
Most of the money in the market comes from people at the top. There are lots of media blitzes trying to make you think a good stock market is good for everyone because "most" people have money in it... but it's just not true if you look into it.
I don't have super current stats... but basically, as of last time I looked into it a couple of years ago:
The top 10% in the US own about 93% of the stocks.
The top 1% own about 50% of those stocks.
The bottom 50% in the US own about 1% of the stocks.
That means another 40% in the US own the remaining 6% of stocks.
Think about what that means...Sure, it looks like more than half of the people have some skin in the game... but 90% of the people only own about 7% of the stocks, with the top 10% owning the other 93%... and half of that 93% is owned by about 5% of the people.
In other words... stock market gains really only significantly impact the top 10% of the people. Depending on the distribution in that other 90% who own stocks... i.e. it doesn't mean 90% of the population owns stocks... it just means some portion of that 90% owns the remaining 7%... might not be a large percentage of those who do and even the ones that do, it a small sliver of the whole stock pie compared to that top 10%.
So... the media will butter up people by talking up the stock market... but in reality, 90% of the people are largely unaffected by the market going up or down.
This is how we can have a rising stock market in a crap economy, and vice-versa. The stock market is no better (and maybe arguably worse) than organized gambling. In fact, there is a hell of a lot more regulation and consumer protections in the gambling industry than there are on the stock market if you take a look around.