The statement "There are no atheists in foxholes" is a proverb used to argue that in times of extreme stress or fear, such as when participating in warfare, all people will believe in or hope for a higher power.
Read more about There Are No Atheists In Foxholes: Origin, Usage, Notable Counterexamples