Niccolò Machiavelli said this quote

If they lacked the opportunity, the strength of their sprit would have been sapped; if they had lacked ability, the opportunity would have been wasted.