I don't agree religion is necessary to do charity, it may be sufficient, but definately not necessary. I think you are switching the antecedent with the consequent on that last proposition. For religion to be necessary to do good things then people that weren't religious wouldn't do good things.



