Below is the poem that I recall was one of the many first lessons that continue to provide motivation to all my endeavors.
I can hope that it can encourage you to do the same.

TRY AGAIN

By: William Edward Hickson
circa: 1857

TRY AGAIN

'Tis a lesson you should heed,Try, try, try again;'If at first you don’t succeed,Try, try, try again.Once or twice though you should fail,Try again;If you would at last prevail,Try again.If we strive, 'tis no disgraceThough we may not win the race;What should you do in that case?Try again.If you find your task is hard,Try again;Time will bring you your reward,Try again.All that other folks can do,With your patience should not you?Only keep this rule in view:Try again.

If we don’t “try again,” we have surely failed. Extremely rare is success found on the first try. We may stumble or fall, but we must continue on.

In closing, I would say this about failure and success: “I would rather be a spectacular failure than to be a boring success.” In this I’m saying that I would try again while learning from past mistakes. Success is never earned “over-night.” Rather, it’s achieved by a series of failures.