At Cambridge, he was convinced by William Paley's writings of design by a Creator, but, on the "Beagle" expedition, his findings contradicted Paley's beneficent view. On his return, his deepening speculations led to the inception of Darwin's theory, and he increasingly disbelieved in the Bible, gradually becoming what was later termed an agnostic.