Sigmund Freud said this quote

No, our science is no illusion. But an illusion it would be to suppose that what science cannot give us we can get elsewhere.