Those who excel in war first cultivate their own humanity and and maintain their laws and institutions. By these means they make their governments invincible.
Therefore I say: know the enemy and know yourself; in a hundred battles you will never be in peril. When you are ignorant of the enemy but know yourself, your chances of winning or losing are equal. If ignorant both of your enemy and of yourself, you are certain in every battle to be in peril.
One whose troops repeatedly congregate in small groups here and there, whispering together, has lost the masses. One who frequently grants rewards is in deep distress. One who frequently imposes punishments is in great difficulty. One who is at first excessively brutal and then fears the masses is the pinnacle of stupidity.
It is the rule in war, if ten times the enemy's strength, surround them; if five times, attack them; if double, be able to divide them; if equal, engage them; if fewer, defend against them; if weaker, be able to avoid them.
Use humility to make the enemy haughty. Tire them by flight. Cause division among them. When they are unprepared, attack and make your move when they do not expect it.
If I determine the enemy's disposition of forces while I have no perceptible form, I can concentrate my forces while the enemy is fragmented. The pinnacle of military deployment approaches the formless: if it is formless, then even the deepest spy cannot discern it nor the wise make plans against it.
Do not engage an enemy more powerful than you. And if it is unavoidable and you do have to engage, then make sure you engage it on your terms, not on your enemy's terms.
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.
You can ensure the success of your attacks if you only attack places that are undefended. You can ensure the safety of your defense if you only hold positions that cannot be attacked. Therefore, that general is skillful in attack whose opponent does not know what to defend; and he is skillful in defense whose opponent does not know what to attack.
Therefore, to estimate the enemy situation and to calculate distances and the degree of difficulty of the terrain so as to control victory are virtues of the superior general.
The essential factor of military success is speed, that is taking advantage of others' unpreparedness or lack of foresight, their failure to catch up, going by routes they do not expect, attacking where they are not on guard. This you cannot accomplish with hesitation.