There were more early wickets in the South Africa innings, with Jasprit Bumrah bowling a perfect delivery to knock over Reeza Hendricks in the second over, followed by Aiden Markram edging Arshdeep Singh behind.
De Kock continued his excellent form, though, partnering up with Tristan Stubbs for 58 off 38 balls.
Stubbs’ departure – bowled by Axar Patel for 31 – brought Heinrich Klaasen to the crease for the last ball of the ninth over, with South Africa still needing more than 100 runs.
And de Kock could not helm the chase, holing Arshdeep out to the hands of Kuldeep Yadav for a valuable 39.