“No, I don't believe in God,” says Hartley. “I was raised with no religion, but a lot of morals. I feel strongly to this day that right and religion don’t necessarily go hand in hand.”
Carlyle abandoned his Christian beliefs in 1818 after reading Gibbon. After further study... Carlyle gave up the Holy Ghost and immortality, as well, adopting a Pantheism like Goethe's.