John McCain actually said...
Our objectives are clear: We will work with the Afghan and Pakistani Governments to eliminate safe havens for those plotting to attack against us.
Context
McCain outlines objectives for U.S. involvement in Afghanistan and Pakistan.
12/01/2009