It's all too common to hear people insist that there are no atheists in foxholes, or in whatever disaster is occurring. They would know better if they simply bothered to do a little research instead of relying upon popular prejudice: quite a few atheists have been in foxholes -- either real ones or metaphorical ones where their lives have been in grave danger. They remained atheists.
One of the most important things to remember about the tired old canard of there not being any "atheists in foxholes" is how this expresses fundamental disrespect for atheists. Either it says that atheists have weak convictions that change as soon as danger rears its head or it says that atheists only adopt atheism so long as it appears to be safe to do so.
Does any of that actually describe you? If you're an atheist who has been in a life-threatening situation, what was your reaction?