You use charitable giving to write off your taxable income, not your final tax bill. So the expenses/wages get written off, then the charitable giving gets written off, and he's left with the final $220K that he keeps, and he still pays taxes on that sum, at whatever his going rate is.