Sigmund Freud said this quote

Observe the difference between your attitude to illusions and mine. You have to defend the religious illusion with all your might. If it becomes discredited - and indeed the threat to it is great enough - then your world collapses. There is nothing left for you but to despair of everything, of civilization and the future of mankind. From that bondage I am, we are, free. Since we are prepared to renounce a good part of our infantile wishes, we can bear it if a few of our expectations turn out to be illusions.