What is the meaning of [it’s better to lose the battle and win the war]

It is sometimes prudent or expedient to concede a minor point in an argument or dispute in order to gain the overall victory.