Most of the time, people're paying to assuage their own prejudices. They pay into their churches because they're Christian, or they pay into the NAACP because they're black, or they pay into the Republic Party because they're white, or they pay into a symphony orchestra because they're rich, etc. etc. That's about as charitable as fortifying the walls of your castle.