The Religious Function of the Psyche