We use words like "persistence" or "learn from your failures" so much that we think we know what they mean; so much, in fact, that they become boring. That confuses repetition with understanding. What's valuable about the OP (and the comments are just reflecting this) is that he put into words a tiny bit of that experience in a way that isn't just repetitive.
"...French writer. Total loser. Never had a real job. Unrequited love affairs. Gay. Spent 20 years writing a book almost no one reads. But he's also probably the greatest writer since Shakespeare. Anyway, gets down to the end of his life, and he looks back and decides that all those years he suffered, Those were the best years of his life, 'cause they made him who he was. All those years he was happy? You know, total waste. Didn't learn a thing."
Though I agree that keep trying (and obviously failing many times along the way) is often necessary to get to where you want to go.