I have contrarian view here.
First blunder, post Afghan war and through out the 90s, Pakistan was following a policy of appeasement. The Taliban were kept happy with a free border, given diplomatic recognition, life was good, meanwhile gun culture, drug culture, sectarianism was at full play...