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.
A clever general... avoids an army when its spirit is keen, but attacks it when it is sluggish and inclined to return. This is the art of studying moods. Disciplined and calm, he awaits the appearance of disorder and hubbub among the enemy. This is the art of retaining self-possession.