If you were trying to use charitable giving as a measure of morality, you’d have to somehow control for the collection plate effect which is more about response to peer pressure than morality.
Okay now look at the statistics on rape of children and how the church protects those rapists. Does that square with "think of the children?" A dude with "free candy" painted on his panel van ticks the "charitable giving" box, right?