knowing the enemy and yourself will get you unscathed through a hundred battles (idiom, from Sunzi's "The Art of War")