A few points:
Most dividend-paying stocks do not pay a high enough dividend to really make them an attractive investment for the dividend alone. As of last Friday: MMM - 2.2% yield, JNJ - 2.6%, KO - 2.6%, IBM - 1.5%, CAT - 1.5%, XOM 1.7% … I’m deliberately choosing very mature blue chips here. There are some exceptions, and certain industries like banking and big pharma tend to run towards higher dividends. But most really high yield things you find trading on the NYSE won’t be actual companies. They’ll be closed end income funds, REITs, BDCs, royalty trusts, MLPs, etc. These are different sorts of investments, which should should not be judged using the same metrics as normal companies.
Why is the dividend attractive, then? Some people would say it isn’t. Others might tout “dividend growth” - a company which is committed to increasing its dividend will also generally see the stock price increase over the long haul. JNJ is a quintessential example - they’ve increased their dividend yearly for a LONG time. The dividend yield has never been very high, but if you had bought them in 1990 for about $7 (split adjusted - there’s been 3 splits since then), the current dividend would be about a 23% yield against your original investment, which would have increased about 9-fold in value. Without reinvesting the dividends. Most of the “dividend growth” proponents will make it look even better by telling you want would have happened if you had reinvested.
Why do people not want the company to pay a dividend, then? Well, if you trust the management of the company to do something useful with the profits and accumulated cash which will increase the earnings, this will presumably increase the valuation of the company, as reflected in the share price. You might prefer that they go ahead and do that, rather than giving you some of the profits. For one thing, the dividend payout is income, and it will be taxed (although “qualified” dividends have gotten a reduced rate for the last few years). If your shares increase in value, you don’t incur tax until you sell, and if you held for over a year, that’s long term capital gains - lower tax.
Another thing the company with cash might do instead of handing out dividends is initiate a buyback - there’s been a bunch of buyback announcements recently. By buying back shares and retiring them, the company again presumably increases the value of your shares by reducing the number of slices the pie is cut into. And again, you don’t pay tax on the increased value. As a shareholder, you may like the company to do this, also.
Don’t bet that GOOG will NEVER pay dividends. It might just take a while. You probably would have said the same thing about Microsoft several years ago. MSFT now sports a 1.3% dividend yield.