Nothing in Darwin's mechanism guarantees humans will think rationally. Fitness might actually favor stupidity. For proof, look at the reasoning of people who believe in natural selection.
Studies show that having a sense of purpose enhances mental and physical health. The problem for materialists is how to conjure it up out of matter in motion.