Barack Obama actually said...
It is in America and Pakistan's interests for Afghanistan to be stable and secure, its sovereignty respected.
Context
Remarks Following a Meeting With Prime Minister Mohammad Nawaz Sharif of Pakistan
10/22/2013