There aren’t any atheists in foxholes.
Better yet to be a non atheist before getting in the foxhole :-)