This attack had killed many people, including one US service member.
Trump said, "As far as I am concerned, they are finished for me".
"The US president said that he cancelled Camp David on the basis that they (Taliban) did something that they sure shouldn't have done, The United States will get out of Afghanistan, he said, adding but we will get out at the right time".
Militant group Taliban on Tuesday said it would continue to fight against United States military in Afghanistan after President Donald Trump said that talks with the insurgents "are dead", AFP reported.
Trump said that the plan to invite the Taliban, who have been involved in Afghan peace negotiations with the United States for months, to the US presidential retreat Camp David "was my idea, and it was my idea to terminate it".
McKenzie said during a visit to Afghanistan that the Taliban "overplayed their hand" in peace negotiations by carrying out a spate of high profile attacks, including one that killed a U.S. soldier last week. However Taliban left the doors to talk for peace in Afghanistan open the world has to wait for the next move of, US.
Many in Washington were shocked and some were angry that the Taliban had been about to visit the presidential retreat on the eve of the anniversary of the September 11 terrorist attacks.
The American death brought to at least 16 the number of U.S. military killed in action in Afghanistan this year, just as Washington is seeking a way out of its longest war.
The U.S. went to war against Afghanistan's ruling Taliban a month after 9/11 for harboring al-Qaida leader Osama bin Laden, mastermind of the September 11, 2001, attacks that killed almost 3,000 people at the World Trade Center, the Pentagon and a field in Pennsylvania. Trump said the decision to invite the Taliban to Camp David was his, and so was the call to cancel it.
Donald Trump speaks to the media on the South Lawn of the White House
"We've recalled Khalilzad back to Washington", when asked if talks with the Taliban were completely off.
But Trump denied any discord among government members including Vice President Mike Pence.
"They (talks with the Taliban) are dead. That's not going to happen", McKenzie told a group of reporters travelling with him during a stop at Bagram Airfield in northeastern Afghanistan.
Asked by Fox News if the talks were "now dead" and what it might take to restart them, Pompeo said "for the time being they are" dead and "if the other team commits an act that's inconsistent with that, President Trump is not going to take that deal".
Three days later, three explosions rocked Kabul, killing dozens of people, including a U.S. soldier.
"Yeah, we'd like to get out", he said. The UN repeatedly calls for urgent need to seize opportunities for peace in the region.
It is widely thought that Trump has been pushing for a withdrawal of U.S. troops in time for his 2020 reelection bid.
Speaking earlier Saturday in Paris, Defense Secretary Mark Esper said that the United States would only accept a "good deal" with the Taliban - words welcomed by the government in Kabul. What kind of people would kill so many in order to seemingly strengthen their bargaining position?
Khalilzad had said in Kabul that he had reached an agreement in principle with the Taliban.