The prime minister told Newsweek that to combat terrorism and bolster regional stability, Washington must stay engaged in Afghanistan.
"We don't have discotheques, we don't have night clubs, so it's a different way of life here. If you raise temptation in the society to a point and all these young guys have nowhere to go, it has consequences in the society," Khan said.
"I am PM of Pakistan and #WeStandWithGaza #WeStandWithPalestine," Khan wrote in a tweet.
Khan lamented the huge human and economic cost of the War on Terror, noting that Pakistan "took a real battering."
"Afghanistan would be wiped off the face of the earth, it would be gone," Trump said on Monday.
The president said peace was "probably going to be happening" despite reports of continuing exchanges of weapons fire along the disputed Kashmir border.
The 65-year-old hopes to become prime minister as Pakistanis head to the polls.
He reportedly sought out the conservative Muslim spiritual guide for advice.
The Nobel Peace Prize winner has issued a statement in which she blasted the attack as 'cowardly'
Khan's vehicle was hit as tens of thousands of protesters from two anti-government movements converged on Islamabad with security tight