Hence the saying: If you know the enemy and you know yourself, your victory will not stand in doubt; if you now Heaven and you know Earth, you may make your victory complete.
From a position of this sort, if the enemy is unprepared, you may sally forth and defeat him. But if the enemy is prepared for your coming, and you fail to defeat him, then, return being impossible, disaster will ensue.
Now an army is exposed to six several calamities, not arising from natural causes, 1 but from faults for which the general is responsible. These are: (1) Flight; (2) insubordination; (3) collapse; (4) ruin; (5) disorganisation; (6) rout.
When you do battle, even if you are winning, if you continue for a long time it will dull your forces and blunt you edge...If you keep your armies out in the field for a long time, your supplies will be insufficient. Transportation of provisions itself consumes 20 times the amount transported.
The general must be the first in the toils and fatigues of the army. In the heat of summer he does not spread his parasol nor in the cold of winter don thick clothing. In dangerous places he must dismount and walk. He waits until the army's wells have been dug and only then drinks; until the army's food is cooked before he eats; until the army's fortifications have been completed, to shelter himself.
So the principles of warfare are: Do not depend on the enemy not coming, but depend on our readiness against him. Do not depend on the enemy not attacking, but depend on our position that cannot be attacked.