That's true but saying that investors moving money between each other is a "pretty accurate description of how the stock market works" is simply incorrect.
The above is a mere byproduct of the market working. The market "works" by giving companies and entrepreneurs access to capital, the rest is a derivative of that. Otherwise you can as well trade postal stamps rather than stocks.