Yeah, after supporting it with training and funding for decades and giving them safe haven, until the Taliban turned on them and tried to take over Pakistan itself. Now they don't like them.
Pakistan also has supported Al Qaeda, ISIS, etc, even committed an act of terrorism against Iran itself.
Pakistan is a belligerent nation that was quite very much literally born out of blood, the spilling of blood, and I haven't noticed anything that has changed about it in that regard as it approaches 80 years of existence. Other than they nearly wiped out practically whatever other religions are in the country that are not Sunni.
A death sentence for a Christian woman just because she gave some woad workers water after their foreman asked her to? A sentence of gang rape to a woman because her younger brother was raped by men on the road, but he was a minor, so they said she should take the punishment instead because the boy didn't have four witnesses stating that he was raped so they said he seduced them to rape him? Whose emmigrants in the UK and other countries feel it's okay to rape strangers as long as they're not Sunnis and are unaccompanied by a man and not covered from head to toe?
It's funny all the criticisms that people say about Iran, because Pakistan is far far worse, only we need them for strategic reasons, so we throw away a lot of money on them and don't complain about what they do internally or externally to their neighbors.