I think you might have Darwin's theory of evolution confused with Ayn Rand objectivism. Darwin posited that whatever makes reproduction more successful was a net positive. This includes things that might seem mechanically foolish, like a peacock's plumage, spiders eating their mates, and sickle cell anemia.