The youngster, who now has a copious amount of experience beyond his years in worldwide cricket, held his nerve to guide the Proteas to a 2-0 unassailable lead in the three-match series, with the final match set for SuperSport Park in Centurion on Wednesday.
Pakistan lost Fakhar Zaman in the fourth over but Azam was in a punishing mood as they got 70 in the Power Play. One change has been made to the side in what is a must-win game for Pakistan, with Faheem Ashraf making way for Shaheen Afridi.
The contrast between the two innings was stark.
Chasing a steep total, Babar Azam and Hussain Talat set the platform and captain Shoaib Malik took it deep. "We were two boundaries behind", said Pakistan captain Shoaib Malik on Friday.
Babar took control of the visitors' chase - his blistering innings including 13 fours and a six but, with the target in sight, he hit Beuran Hendricks straight to Junior Dala at midwicket.
'We didn't start too well, but credit to our bowlers for really bringing it back.More news: Titanfall Apex Legends Battle Free-To-Play Royale Mode Lands This Week
More news: Meet the Fierce and Furry Cats Competing in Kitten Bowl 2019
More news: E-Cigs May Help Cigarette Smokers Kick Tobacco
Go back further to 2013 and the Champions Trophy semi-final against England - the Proteas, according to their coach at the time Gary Kirsten, choked and were bowled out for 175.
The Proteas had an unsung star and a new hero in 20-year-old debutant Lutho Sipamla who pulled the attack together after the initial Pakistan onslaught, bowling four one-over spells.
Miller was responsible for Shinwari returning the most expensive T20 figures ever for Pakistan with his 0-63 off four overs _ a rate of 15.75 runs conceded per over.
Proteas T20 stand-in captain David Miller praised allrounder Andile Phehlukwayo's preparations to bowl in the death overs, following South Africa's nail-biting seven-run victory over Pakistan in the second T20 worldwide.
Batting first, stand-in captain David Miller hit an explosive half-century as South Africa made a strong finish to their innings.
Miller hit five sixes and four fours as South Africa scored 127 runs in the last ten overs of an innings which was interrupted for half an hour by a rain shower.
With Faf du Plessis rested, Janneman Malan was handed his T20I debut for South Africa at the top of the order and he enjoyed a confident beginning to his worldwide career, sharing a 58-run, first-wicket partnership with Reeza Hendricks.