[MENTION=147314]topspin[/MENTION] Masood had an average of 38, with a highest score of 65. Two half-centuries in six innings. Those are modest stats at best.
Azhar might have lost form in the recent past, but there's no doubt he remains our most experienced Test batsman with match-winning knocks for Pakistan.
Also Haris and Babar are better test batsmen than Shan Masood, if we're talking about strictly potential here.
You need to learn to put stats into context. Shan's average of 38 came against a world class pace attack and on perhaps the most bowling friendly wickets on Earth.
Only two batsmen in the series managed to average over 50: Hashim Amla and Quintin de Kock. The former actually scored less runs than Shan (in the same no. of innings) but his averaged was boosted by two not out scores. Quintin de Kock deserves full credit for his batting display, however lets not forget (unlike the Pakistani batsmen), they were up against an inferior pace attack, including two toothless bowling performances from our best two test pacers in 2018 (Hasan Ali and Abbas), who both averaged in the mid 40s with the ball.
To further illustrate the difference in quality between the two the pace attacks, South African's two best bowlers (Olivier and Rabada) both averaged under 20 in the series. Conversely, none of Pakistan's bowlers (who played a minimum of two tests in the series) managed to accomplish this.
When you factor in the information provided in the overview (above), that average of 38 is worth a lot more than what it is at face value. In typical batting friendly conditions of the modern era and against a more mid-rated pace attack, this average probably equates to a figure in excess of 50.
Even the SA commentators in the last test made it clear they were most impressed by Shan Masood's batting in the side.
To think Azhar Ali makes the test XI on merit, let alone a potential match winner (as you have implied) is beyond delusional, I have to say. I have caught you out a number of times with your poor recall and outlandish claims in the past such as "Australia were favourites going into the 2011 WC", "Australia's main wicket keeper in the 90s wasn't Ian Healey" and you're doing the same here in regards to Azhar Ali.
Our best test opener technically and form wise are Shan Masood. If he can go to SA and face the new ball against a quality bowling attack, you can't be some mug with the bat.
The way you're belittling Shan Masood's achievements does make me wonder whether you have some sort of agenda here, but I guess time will only tell.