Attributed to Napoleon Bonaparte...
I thought it was Sun-Tzu.
But it was probably a paraphrasing of Sun-Tzu:
To secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself.