Sun Tzu, The Art of War

Knowing the enemy enables you to take the offensive, knowing yourself enables you to stand on the defensive.