Cervantes, who wrote Don Quixote, had a life of failures.
He was born in 1547. He was badly wounded at the battle of Lepanto. In 1575 pirates captured him, and he spent five years as a captive in Algiers, according to Britannica. In 1597 he went to jail in Seville over a tax-collecting money problem, as The Collector tells it.
Don Quixote, Part One, came out in 1605. He was 57. He finally got somewhere.
Never give up.