Stocks that don't pay good dividends should be reinvesting that money in future growth. At some point in the future the company will then increase its dividends.
If stocks are a zero sum game then so is business in general. But business isn't just a giant casino. Useful stuff is produced.