Companies don't pay out all profits to shareholders as dividends. They can also reinvest in their own business (e.g. build a new factory) or buy back shares.
The go-forward nominal rate of return on stocks should be higher than the inflation rate + the dividend yield. The nominal rate of return could be closer to shareholder yield + inflation (shareholder yield is the dividend yield + share buybacks). I think the real earnings growth is the best predictor of long term returns. Earnings growth is correlated with population growth & productivity growth, but those aren't the only important variables.