My ex's father, his wife, sister and parents were all ardent church-goers and left large legacies to their two local churches, including sums of money for benches to be provided in the gardens of each church, bearing their names. They didn't leave a penny to any charities, and the whole estate except for these legacies went to their mean, selfish son. As Christians, they didn't teach him anything about good human values, only to keep in with the church so their god would look after them when they died. They were motivated by money and would get very upset if they thought their fortune woud be dispersed. My mean ex repeatedly tells his four lovely children.....'you'll get plenty when I'm gone.'
A good example of generations of a family indoctrinated by their church into paying out largesse to gain some sort of status in the parish, motivated by the opportunity of personal benefit, and superstitious about keeping to the Church of England rules to the detriment of those who would have benefited from a litte generosity.
My children have learned to try to be altruistic, share with others, be warm and empathetic, and brush off their silly father's irrational beliefs. They didn't get that from the church, but from thinking for themselves.