Barack Obama actually said...
The ultimate goal is to defeat al Qaeda and deny them a safe haven.
Context
Background Briefing by Senior Administration Officials on the Strategic Partnership Agreement with Afghanistan
05/01/2012