To his complete astonishment, he later found himself offering up a stumbling prayer that the dog would be protected. It was a moment in which he felt a desperate need to believe in a God that shepherded his own creations. But, even praying, he felt a twinge of self-reproach, and knew he might start mocking his own prayer at any second.
Somehow, though, he managed to ignore his iconoclastic self and went on praying anyway. Because he wanted the dog, because he needed the dog.
Ch. 12 - I Am Legend (1954)