Barack Obama actually said...
The military security that's provided in our ability to train Afghan forces is one element of it.
Context
Remarks Following a Meeting With Prime Minister Jose Luis Rodriguez Zapatero of Spain and an Exchange With Reporters
10/12/2009