Your hero should never solve all his problems at any point in your story before the end. He can solve one problem, but another one must still be looming.
Gail Carson Levine

Your hero should

Failure should be our teacher, not our undertaker. Failure is delay, not defeat. It is a temporary detour, not a dead end. Failure is something we can avoid only by saying nothing, doing nothing, and being nothing.
Denis Waitley

Failure should be

I wrote for TEN YEARS before finally getting my first book published, but it was totally worth all the work and all the waiting. I don’t believe in giving up and don’t think that you should, either.
Dan Gemeinhart

I wrote for TEN YEARS