Religion and the welfare of the child