There's also matches where a lot of things go right for you and you win a match you shouldn't be winning. That's sport, it happens.
For Pakistan, they need to establish a core bowling attack that is consistent. Sometimes Abbas is back and playing, sometimes he is not. Sometimes it's Imran Khan or players like Musa playing when they have no business of playing. All the top teams have a consistent bowling attack and how they're going to attack and get the opposition out. Pakistan in recent times, particuarly that Australia & NZ tours were horrific with scrubs playing. PCB couldn't convince Wahab & Amir to join those tours and Hasan was injured at the time so it was just a poor attack selected.
Lately, the bowlers picked & used have been more consistent with Shaheen/Hasan/Faheem being a mainstay part of the attack and depending on conditions, it's Abbas being picked or two spinners if it favours those conditions. It's also a pretty inexperienced bowling attack still but it should make for a experienced and a much better attack next time they visit NZ/Australia.
Pakistan also need to make sure they arrive in SENA tours with enough time to get used to the conditions and having a couple of practice matches.