This is one of the worst things that people can say if you have just failed or lost.

Don’t move on.

Pause.
Reflect.
Introspect.
Make changes.
Then take a step.

Failure by itself does not lead to success.
It is the introspection and action upon failure that leads to success.