The Taliban were largely founded by Pakistan's Inter-Services Intelligence (ISI) in 1994.[15][62][63][64][65][66][67][68] The ISI used the Taliban to establish a regime in Afghanistan which would be favorable to Pakistan, as they were trying to gain strategic depth.[38][69][70][71] Since the creation of the Taliban, the ISI and the Pakistani military have given financial, logistical and military support.[16][72][73][74]
According to Pakistani Afghanistan expert Ahmed Rashid, “between 1994 and 1999, an estimated 80,000 to 100,000 Pakistanis trained and fought in Afghanistan” on the side of the Taliban.[75] Peter Tomsen stated that up until 9/11 Pakistani military and ISI officers along with thousands of regular Pakistani armed forces personnel had been involved in the fighting in Afghanistan.[76]
I think it’s the opposite. The Taliban works for the ISI. One of the things I never understood about Musharraf was he that he didn’t purge the ISI while their stooges made over 200 attempts to kill him.