proverb

He who fights and runs away may live to fight another day

retreat

meaning that

Sometimes is rational to run away from a fight, in order to survive; in that case, you might have the chance to fight again later, under better conditions.