The social application of religion