Charles Darwin

Some writers indeed are so much impressed with the amount of suffering in the world, that they doubt, if we look to all sentient beings, whether there is more of misery or of happiness; whether the world as a whole is a good or bad one. According to my judgment happiness decidedly prevails, though this would be very difficult to prove. If the truth of this conclusion be granted, it harmonizes well with the effects which we might expect from natural selection. If all the individuals of any species were habitually to suffer to an extreme degree, they would neglect to propagate their kind; but we have no reason to believe that this has ever, or at least often occurred. Some other considerations, moreover, lead to the belief that all sentient beings have been formed so as to enjoy, as a general rule, happiness.

Charles Darwin, The Autobiography of Charles Darwin 1809-1882: with the Original Omissions Restored, London, 1958, p. 88