In high-tax states, where Federal + State taxes exceed 50%, it is now possible (but rare!) to 'make money' by donating.
Let's take someone with a 53% marginal income tax, living in NYC. The person has stock with a basis of $0.0 with a current value of $10, and has held the stock for less than a year (short term capital gains = ordinary income rates). Separately, they have $1,000,000 of income.
Scenario 1) Donating the stock would produce a $10 tax deduction, worth $5.3.
Scenario 2) Selling the stock would produce $10 of returns - $5.3 in income tax = $4.7
In this scenario, donating the stock produces higher returns compared selling the stock. It's a fairly obtuse scenario, since it's rare for the cost-basis to be so low, time-span to be so short, and to have a good use for a tax deduction. It becomes much more likely when a completely illiquid & price inflated stock is donated. If a large chunk of illiquid stock is sold, it'll crash. But donating an inflated chunk of stock would lock in the tax deduction.
Donating shares of a stock when a person knows insider information is called 'insider giving', and is highly prevalent & largely unenforced. https://dlj.law.duke.edu/article/insider-giving-avci-vol71-i....