Roger Scruton in Prospect:
Enlightenment thinkers, having shown the claims of faith to be without rational foundation, did not then dismiss religion, as one might dismiss a refuted theory. Many went on to conclude that religion must have some other origin than the pursuit of scientific knowledge, and some other psychic function than consolation. The ease with which the common doctrines of religion could be refuted alerted men like Jacobi, Schiller and Schelling to the idea that religion is not, in essence, a matter of doctrine, but of something else. And they set out to discover what that might be.
Thus was born the anthropology of religion. For thinkers in the immediate aftermath of the Enlightenment, it was not faith, but faiths in the plural, that composed the primary subject matter of theology. Hence the appearance of books like CF Dupuis’s Origine de tous les cultes, ou Religion universelle (1795), and the busy decipherment of oriental religions by the Bengal Asiatic Society, whose proceedings began to appear in Calcutta in 1788. For post-Enlightenment thinkers, the monotheistic belief systems were not related to ancient myths and rituals as science to superstition, or logic to magic. Rather, they were crystallisations of the emotional need which found expression both in the myths and rituals of antiquity and in the Vedas and Upanishads of the Hindus. This thought led Georg Creuzer, whose Symbolik und Mythologie der alten Völker appeared between 1810 and 1812, to represent myth as a distinctive operation of the human psyche. A myth does not describe what happened in some obscure period before human reckoning, but what happens always and repeatedly. It does not explain the causal origins of our world, but rehearses its permanent spiritual significance.