http://calteches.library.caltech.edu/49/2/Religion.htm
Richard Feynman 1956 addressing a civic group
More than half of the scientists don't believe in God, many scientists do believe in both science and God, in a perfectly consistent way. But this consistency, although possible, is not easy to attain.
What is God? What I mean is the kind of personal God, characteristic of the western religions, to whom you pray and who has something to do with creating the universe and guiding you in morals.
For the student, when he learns about science, there are two sources of difficulty in trying to weld science and religion together. The first source of difficulty is this – that it is imperative in science to doubt; it is absolutely necessary, for progress in science, to have uncertainty as a fundamental part of your inner nature. To make progress in understanding we must remain modest and allow that we do not know. Nothing is certain or proved beyond all doubt. You investigate for curiosity, because it is unknown, not because you know the answer. And as you develop more information in the sciences, it is not that you are finding out the truth, but that you are finding out that this or that is more or less likely.
In communism the answers are given to all the questions – political questions as well as moral ones – without discussion and without doubt. if you have a tyranny of ideas, so that you know exactly what has to be true, you act very decisively, and it looks good – for a while. You launch a ship toward a destination but soon the ship is heading in the wrong direction, and no one can modify the direction any more.
Religion gives answers to moral questions. Religion has metaphysical aspects, and ethical, and inspirational.
The necessary spirit of uncertainty in science is an attitude toward the metaphysical questions that is quite different from the certainty and faith that is demanded in religion. Science cannot affect the fundamental basis of morals.
How can we support these two pillars of western civilization, science and religion, so that they may stand together in full vigor?
In Feynman's address above, his emphasis about doubt sounds like the statistical nature of the quantum world. When a photon goes from air into glass, you can't say exactly where that photon goes. Only the statistics is for sure. This is QED.
Feynman books
What Do You Care What Other People Think? 1988
Surely You're Joking, Mr. Feynman!: Adventures of a Curious Character 1984
The Pleasure of Finding Things Out: The Best Short Works of Richard P. Feynman 1999
Feynman is celebrated as a great scientist who was fun to be around. He gave lectures that students liked to hear. He died of cancer in 1988.