Everybody was religious back then, God was the best available scientific theory for the origin of life. But after Darwin's discovery, a much, much, much better theory was available. If you do your homework you'll discover Darwin wasn't much of a Christian after that. Read up.