President Bush says he is confident the United States can work with Pakistani leaders to bring the top leaders of the al-Qaida terrorist network to justice.
Mr. Bush made the remark on Thursday during a news conference in Washington.
Mr. Bush's comment came after Pakistani President Pervez Musharraf criticized recent US statements threatening direct attacks on militants in Pakistan.
During the news conference Mr. Bush also discussed the US economy, which he said is the envy of the world. He urged the US Congress to pass spending measures once lawmakers return from their August recess.
On education, the president said he plans to sign legislation Thursday that calls for spending 33.6 billion dollars over the next three years for science, technology, engineering and mathematics research and other education programs for US government agencies.
Mr. Bush also said the US detention facility at Guantanamo Bay, Cuba cannot be closed until other countries agree to take the prisoners still there.