Earlier quoted context omitted.
Not necessarily. If a company makes a profit, then theoretically so do your shares, whether in terms of share price increase or dividends.
So, actually, fun fact, this is false! The stock price doesn't just reflect the amount of money the company has. The stock price reflects the "fully loaded" expected value of that stock. That means it prices in ALL expectations. If the company you buy performs exactly as expected, then you don't actually make any money because you paid the price that reflected those expectations, so whatever dividends the company iss…
One can say that this "risk premium" actually reflects the expectation that things don't go as well as expected. But the fact is that in the aggregate and in the long term equity investors are still doing "better than expected" and there is no agreement on why it is so (this has been called the "equity premium puzzle").