There are plenty of atheists in foxholes. What I don't see are Christians in foxholes. If a Christian soldier takes a bullet to the knee, he will undoubtedly first call for a medic, not a priest. Reliance on god is typically only available when a problem can be ignored without discomfort or when the problem belongs to others (where it can be ignored without discomfort). When the chips are down, like when you have a serious illness or you've been shot or you’re at war, even the most devout Christians rely on humans (doctors or other soldiers) even though they'll swear up and down that it’s god helping them.