Not only are there no atheists in foxholes, there are, I believe, no atheists anywhere. We just call our gods by different names. Indeed, psychotherapy may be nothing more than the attempt to find those names, and so challenge their power.
Obviously, Luther got there first in the Large Catechism. But the observation is still worthwhile.