God requires faith, which is the belief in things that can't be perceived by our fives senses. Science, on the other hand, requires that we prove things based on perception with these five senses. We can prove things, in real time, with our senses. Faith works better to perceive the past and the future, since sensory data is lacking or is incomplete.
Physics is one area of science that makes use of faith. Dark energy and dark matter, are two examples. These have never been proven in the lab; nobody has even seen these, directly, with the eyes for verification. These are inferred from observations, based on looking through the mental prism of theory. Like all faith, it assumes this has to be true, without seeing with the eyes, because it will be proven someday in the future, to the senses. You can take the boy out of religion, but you can't take religion out of the boy.
Religion is connected to the way the most modern parts of the brain are wired. Religion is connected to perception that exists beyond the fives sense, which allows us to transcend time and space. Dark energy is a transcendent theory, geared toward the future. Religion is about evolving human nature. They create conditions, that may not be optimized to real time sensory reality. This is true, since these are geared to the needs of the future and not the present.
It is similar to the parent who makes their child study and train in music, because they see their child benefitting by these skills for college. The child is like a little animal, who lives in the here and now, enjoying sensory reality. Unless he has respect and faith in his parent's wisdom, he will not be able to perceive this on his own, since he cannot see the future with his eyes. He may want to play in the field with his friends for real time data. This may require the parents (god) get stricter, forcing him to do, what he sees, in real time, as nonsense. He can't yet see the future, but only the now, which deprives his senses. If he lasts to where the future become the present; get into a good college where he does well, his faith becomes confirmed by his senses, so he can now learn to intuit and trust the future.
If you look at Christianity, the biggest picture for the faithful is connected to getting into heaven and avoiding hell. Both places cannot seen with the eyes, via science, but are assumed to be perceptible in the future; death. Based on this future vision, there is certain training that is taught to achieve those ends. These may not be optimized to our sensory systems in real time, since it can deprive us of choices that maximizes sensory input. It is not about the present of human nature, but the future of human nature.
Religious wars occur when people narrow the future vision, and try to apply it to the present; future made manifest to the senses; prophesies appear in the now. The sinners look for a sign in the present with the senses, leading to problems, since this point in time is not the future that is being taught.
The analogy is the boy who is studying and training in music. He believes in his parents and accept his fate. But he also wants to be true to his real time sensory nature. One way to do this is to engage in fantasy, such as playing air guitar in front of the mirror. You make the future appear in the now. If this builds up pride, it can result is bringing the future prematurely into the present. Since this is not the proper future for the brain, therefore over compensation can result to hide inner doubt. Had he stayed on the true path the future, and accept the lack luster present, when the two finally meet, his faith will be confirmed.