Barack Obama actually said...
We must also recognize that we cannot succeed in Afghanistan or secure America as long as there is a terrorist safe-haven in northwest Pakistan.
Context
Remarks to the Veterans of Foreign Wars Convention in Orlando
08/18/2008