Friedrich Nietzsche said this quote

Be not virtuous beyond your powers! And seek nothing from yourselves opposed to probability!...Shy, ashamed, awkward, like the tiger whose spring hath failed—thus, ye higher men, have I often seen you slink aside. A cast which ye made had failed...The higher its type, always the seldomer doth a thing succeed. Ye higher men here, have ye not all—been failures?Be of good cheer; what doth it matter? How much is still possible! Learn to laugh at yourselves, as ye ought to laugh!What wonder even that ye have failed and only half-succeeded, ye half-shattered ones! Doth not—man's future strive and struggle in you?Man's furthest, profoundest, star-highest issues, his prodigious powers—do not all these foam through one another in your vessel?What wonder that many a vessel shattereth! Learn to laugh at yourselves, as ye ought to laugh! Ye higher men, Oh, how much is still possible!