Jerry Seinfeld said this quote

Keep your head up in failure, and your head down in success.