Barack Obama actually said...
The only real way to achieve the full drawdown of U.S. and foreign troops from Afghanistan is through a lasting political settlement with the Afghan Government.
Context
Remarks on United States Military Strategy in Afghanistan and an Exchange With Reporters
10/14/2015