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.
When the enemy is at ease, be able to weary him; when well fed, to starve him; when at rest, to make him move. Appear at places to which he must hasten; move swiftly where he does not expect you.
However desperate the situation and circumstances, don't despair. When there is everything to fear, be unafraid. When surrounded by dangers, fear none of them. When without resources, depend on resourcefulness. When surprised, take the enemy by surprise.
Invincibility is in oneself, and vulnerability is in the opponent. Invincibility is a matter of defense, vulnerability is a matter of attack. Therefore skillful warriors are able to be invincible, but they cannot cause opponents to be vulnerable. That is why it is said that victory is discerned and not manufactured.
If an enemy has alliances, the problem is grave and the enemy's position strong; if he has no alliances, the problem is minor and the enemy's position weak.
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.