On The Origin of Species by Charles Darwin Chapter 7 Page 110

Many species must have been prevented from increasing in numbers through destructive agencies, which stood in no relation to certain structures, which we imagine would have been gained through natural selection from appearing to us advantageous to the species. In this case, as the struggle for life did not depend on such structures, they could not have been acquired through natural selection. In many cases complex and long-enduring conditions, often of a peculiar nature, are necessary for the development of a structure; and the requisite conditions may seldom have concurred. The belief that any given structure, which we think, often erroneously, would have been beneficial to a species, would have been gained under all circumstances through natural selection, is opposed to what we can understand of its manner of action.