There was the possibility of winning the match if the Pakistani team made some more runs like if they crossed the 300 digit then it would be very difficult for the Afghan team to chase them, yeah they would reach to nearest but could not beat them but somehow we can not neglect the afghan team maybe they are getting up as they are a team and there is no treaty with the afghan team to always remain the same and losing the match..
You are assuming way too much here. Afghanistan looked like they could chase down a total of over 300 too since all of their batsmen batted well and they still big hitters like Mujeeb, Rashid etc remaining.
The fact is that Pakistan's bowling(Excluding Ali) sucked big-time and they keep missing quality spinners who could do a lot on that surface.