I disagree strongly.
Progress in the wrong direction still teaches you things, and it means you're moving and you've overcome the inertia of doing nothing, which is half the battle.
Failure isn't trying and not reaching your goal. Failure is never trying.