Sun Tzu said this quote

Know the enemy, know yourself and victory is never in doubt, not in a hundred battles.