His beliefs changed throughout his life.
"His beliefs changed throughout his life." He was an agnostic when the Origin was published.