Barack Obama actually said...
A peaceful, prosperous, and democratic Pakistan was an essential partner for the United States.
Context
Joint Statement by President Barack Obama and Prime Minister Mohammad Nawaz Sharif of Pakistan
10/22/2013