Whenever you go through a difficult life situation, the world advises you to move on.

I’d suggest otherwise.

Don’t move on immediately.
Reflect.
Spend time with yourself.
Ask yourself “What is it trying to teach you?”
Get comfortable with what happened.
Take the time to make it a life lesson instead of life tragedy.

And over time, you would have moved on automatically.

The way out of bad things in life isn’t by running away from them. It is rather by staying with them, so that over time and after giving all the lessons they brought, they go themselves and never come back again.