True.
But the Doctor was a man of faith before he went into the foxhole.
So, at least he knew to WHOM to pray!