Only in the sense that money that would have been taxed as income was instead paid to charities. Simplified example, they took in $200 and paid $50 of that to a charity. At 10% they paid $15 in taxes instead of $20. If you think charities are overall a net positive (and especially if you think they’re more efficient at getting money to the right places than the government) a loss of $5 in government revenue for $50 into charities seems like a good deal