Martin Seligman said this quote

If we just wanted positive emotions, our species would have died out a long time ago.