You can make money by buying a stock, having the business get more valuable so the stock goes up, and selling the stock at a higher value.
Or you can make money by buying a stock, having the business make money and pay it out to you in dividends.
At the end of the day, what matters here is how much money you make and how long it took you to get it, which is a function of sell price - buy price + dividends received - transaction costs and taxes paid. This chart ignores the dividends received part, and thus misrepresents the value of the stock. I don't know how big the dividend is so I don't know by how much. I doubt it would really make -50whatever% a whole lot better, but it would certainly be something better.
Traditionally dividends are generally paid out by businesses that can't reasonably expect to use their cash to grow - reinvesting all your cash to grow may not make sense if your growth is limited by geography or by completely owning an entire market. The textbook example is a utility company.