People who regularly attended religious services as children are more likely to be happy as adults.