My deeply held belief is that if a god of anything like the traditional sort exists, our curiosity and intelligence are provided by such a god. We would be unappreciative of those gifts (as well as unable to take such a course of action) if we suppressed our passion to explore the universe and ourselves. On the other hand, if such a traditional god does not exist, our curiosity and our intelligence are the essential tools for managing our survival. In either case, the enterprise of knowledge is consistent with both science and religion, and is essential for the welfare of the human species.
Carl Sagan, Jerald F. TerHorst, Allan J. Mayer, Sharon S. McKern, Laurence J. Peter (1980). “Broca's brain: reflections on the romance of science”