Earlier quoted context omitted.
> As a friend of mine once said: "progress when you're going the wrong direction, is turning around". 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.
By that definition, Hitler was pretty successful. Yes, learn from your mistakes. No, don't actively go in the wrong direction.
Now you're talking about if you need to consider any moral implications of the activity you're undertaking, which is a whole different discussion.