From old habit, unconsciously he thanked God that he no longer believed in Him.