Stock buybacks are economically equivalent to dividends, with the one exception that they don't trigger a taxable event.
The ultra wealthy never sell their shares for this reason. Instead they opt for taking out endless loans so they don’t pay taxes on their capital gains.
Since newly issued shares are not tax deductible for the owners, you'd basically be paying tax even if net zero capital is returned.
The tax-free dividend is more of a modern discovery, I think. Which is why the loophole hasn't been closed yet.
Whereas with a dividend, you pay tax immediately when the dividend is issued.
Unless you’re a billionaire of course: https://www.propublica.org/article/the-secret-irs-files-trov...