Well, the way I understand it, Pakistan supported the Taliban not because of their Wahhabi ideology but for two reasons:
- they were fighting the Indian backed Northern Alliance, so it was effectively a proxy war
- they are a Pashtun nationalist movement and Pakistan has a significant Pashtun population
Where it all went wrong is when they got cozy with AQ and Pakistan did not appreciate the confluence of jihadist mentality and Wahhabi ideology. We nurtured the former while quietly ignoring the latter. It is even possible that Zia and his people, with their own conservative bent, tacitly supported the Wahhabi ideology, I don't know.
Like I said, supporting proxy fighters is something most governments do anyway. It has happened in the past, and will continue to happen in the future. Even religious fervor to fight wars is not unique to the Taliban. Israeli soldiers fight in the name of Judaism. Many Western soldiers are motivated by the belief that they are part of a new Crusade. The mistake in Pakistan's case was to allow the medieval Wahhabi ideology to take root in our neighborhood, let alone our house.
I am glad you mentioned this. What we see in Afghanistan is a proxy war, it was a proxy war and it has always been a proxy war for the last 30 years, it is not Afghans' war, but they are the only people who are paying the heavy price of this proxy war. So dont say that you care for the people of Afghanistan, it is the proxy war you care under the pretext of muslim brothers which is running out of steam now. The US is also engaging in a proxy war in Afghanistan and so are the indians and Pakistanis, considering these facts, all these countries are the same for the Afghans. By the way, dominance of Pashtoon nationalist parties is never good for Pakistan.