Maybe there are only atheists in foxholes. If the faithful truly and fully believe in a protective deity, why would they dive into a foxhole to protect themselves from the bullets whizzing by ? A part of their brain knows damn well that if they do not protect themselves, the bullets will hardly discriminate between those who claim faith and those who reject it.
