Playing the stock market is a loosing game. It is gambling where all the rules and all the odds are stacked in favor of a handful of people who gamble for a living. (it is also systemic exploitation of the working classes; so if you are into worker solidarity [you should] you should not partake in said exploitation).
If you just buy and hold, and don't panic sell during a recession, you'll win.
Will other more sophisticated players make money exploiting short-term swings? Sure. Will other players beat your returns? Also yes.
But that money isn't coming out of your pocket, so why does it matter? You're still beating leaving your money in a savings account, where inflation is outpacing interest.
Indeed. And yet opting out is an even bigger loss.