Barack Obama actually said...
The Pakistani people have suffered greatly at the hands of terrorists, and are endangered by the violent extremists operating within their borders.
Context
Statement of Sen. Obama on the Terrorist Attack in Pakistan
09/19/2008