Barack Obama actually said...
You have affirmed a commitment to democratic rule that will be critical to achieving peace and prosperity for all Pakistanis for years to come.
Context
Statement on Elections in Pakistan
05/11/2013