Barack Obama actually said...
The Taliban should seize the opportunity to pursue the only real path for ending this long conflict: joining the Afghan Government in a reconciliation process that leads to lasting peace and stability.
Context
Statement on the Death of Akhtar Mohammad Mansur
05/22/2016