That statement was designed no understanding of what generations have considered godless.
A lot of people think it does.
Darwin himself considered evolution to be opposed to Christianity and the Bible;
"I had gradually come by this time (i.e. 1836 to 1839) to see the Old Testament, from its manifestly false history of the world, with the Tower of Babel, the rain-bow as a sign, &c., &c., and from its attributing to God the feelings of a revengeful tyrant, was no more to be trusted than the sacred books of the Hindoos, or the beliefs of any barbarian....
....Thus disbelief crept over me at a very slow rate, but was at last complete. The rate was so slow that I felt no distress, and have never since doubted for a single second that my conclusion was correct. I can indeed hardly see how anyone ought to wish Christianity to be true."
Evolution has nothing to do with godlessness.
According to evolutionists like Thomas Huxley it has everything to do with it.