Sun Tzu said this quote

Attack is the secret of defense, defense is the planning of an attack.