When you know both yourself as well as your competition, you are never in danger. To know yourself and not others, gives you half a chance of winning. Knowing neither yourself or your competition puts you in a position to lose.
In your deliberations, when seeking to determine the military conditions, let them be made the basis of a comparison, in this wise: which of the two generals has the most ability? on which side is Discipline most rigorously enforced? which army is stronger? on which side are the officers and men more highly trained? in which army is there the greater constancy both in reward and punishment?
Factors in the art of warfare are: First, calculations; second, quantities; third, logistics; fourth, the balance of power; and fifth, the possibility of victory is based on the balance of power.
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.
Thus we may know that there are five essentials for victory: He will win who knows when to fight and when not to fight. He will win who knows how to handle both superior and inferior forces. He will win whose army is animated by the same spirit throughout all its ranks. He will win who, prepared himself, waits to take the enemy unprepared. He will win who has military capacity and is not interfered with by the sovereign.
In executing an Artful Strategy: When ten times greater, surround them; When five times greater, attack them; When two times greater, scatter them. If the opponent is ready to challenge: When fewer in number, be ready to evade them; When unequal to the match, be ready to avoid them. Even when the smaller opponents have a strong position, the larger opponent will capture them.
Thus the highest form of generalship is to balk the enemy's plans, the next best is to prevent the junction of the enemy's forces, the next in order is to attack the enemy's army in the field, and the worst policy of all is to besiege walled cities.
Unless you know the mountains and the forests, the defiles and impasses, the lay of the marshes and swamps, you cannot maneuver with an armed force. Unless you use local guides, you cannot get the advantages of the land.
These are the six ways of courting defeat - neglect to estimate the enemy's strength; want of authority; defective training; unjustifiable anger; nonobservance of discipline; failure to use picked men.