Barack Obama actually said...
We must forge a deep and lasting partnership with Pakistan, and with nations around the world, to root out and destroy al Qaeda and its affiliates.
Context
Statement of Sen. Obama on the Terrorist Attack in Pakistan
09/19/2008