Pakistan's situation right now is a bit unique, considering they have the chance to go really high up in points, missing out on semi-final spot only on NRR against a team they have beaten in the group stage. The next higher team (by one point) in semifinals which just scraped through was also beaten by Pakistan. Normally if a team does this much, it's in semi-finals and not standing outside looking in. A lot has been made about how Pakistan lost the plot against WI, and dig a large hole for themselves, but for me there were so many other factors (some pure bad luck and some lack of application) that landed Pakistan in this spot. Among them,
1) The loss against Australia. That game was completely under control, and then three batsmen threw their wicket for no reason, followed by a restless Sarfraz who only needed a calm demeanor, and no Haris Sohail to share the load. Even after all that, we came close to Australian total. We should have won that game.
2) Pakistan batting second in both Nzl and Afg game. You all have seen how hard it is when batting second late in a tournament with a team playing eight-nine games, to improve the NRR. There are opposing forces at work. Either you get the opponent out cheaply, but then you leave out many overs unplayed (at best) which can be considered as a lost potential for higher NRR, or they make more runs, which offsets any increase that comes from you batting more overs with higher NRR. That's the reason, it's impossible for Pakistan to catch up to Nzl in NRR when batting second now.
I have no doubts, that Pakistan would have beaten Afghanistan by a huge margin had they batted first, and I think we could have beaten Nzl as well by 40-50 runs (which 'd have impacted the NRR at twice the rate). Pak's NRR would still be lower than Nzl's but a margin of 50-70 runs would be enough in the final game, instead of 310+ difference needed now. Batting second in both matches mathematically made it harder to make large strides in NRR, when they were hugely needed.
3) Of course there were rain affected games. Pakistan had a relatively easier game affected, and Nzl shared the points against much stronger opponent.
These aren't excuses, rather attempts to understand why we ended up in this situation when potentially winning five of eight games.
There have been tournaments where fortunes favored us hugely. There had to be one like World Cup 2019, to balance the scales a bit.