知彼知己

Idiom

 * 1) to know the enemy and know yourself