No plan survives first contact with the enemy.
No matter how carefully a general plans for contingencies, once contact is initiated, the fog of war sets in, and something will go wrong. The best a strategist can hope for is to have enough flexibility to adapt to changes.