Quoting Darwin is of little value. He was a great thinker and discovered some great truths but he knows no more about modern evolutionary science than Columbus did about North American geography.
Morality, or more strictly our belief in morality, is merely an adaptation put in place to further our reproductive ends. Hence the basis of ethics does not lie in Gods will . In an important sense, ethics as we understand it is an illusion fobbed off on us by our genes to get us to cooperate. It is without external grounding. Like Macbeths dagger, it serves a powerful purpose without existing in substance.Ethics is illusory inasmuch as it persuades us that it has an objective reference. This is the crux of the biological position. Once it is grasped, everything falls into place.
Darwin showed that material causes are a sufficient explanation not only for physical phenomena, as Descartes and Newton had shown, but also for biological phenomena with all their seeming evidence of design and purpose. By coupling undirected, purposeless variation to the blind, uncaring process of natural selection, Darwin made theological or spiritual explanations of the life processes superfluous. Together with Marx's materialistic theory of history and society and Freud's attribution of human behavior to influences over which we have little control, Darwin's theory of evolution was a crucial plank in the platform of mechanism and materialism
-Douglas Futuyma's Evolutionary Biology), p. 5