Babar Azam (90) and Hussain Talat's (55) knocks went in vain as Pakistan collapsed from 147-1 to 181-7 courtesy Phehlukwayo and Morris' bowling
South Africa prevailed by six runs in a tense finish after being sent in and making 192 for six.
De Kock slammed 83 off 58 balls as South Africa chased down a target of 241 with seven wickets and ten overs to spare to seal a 3-2 series win.
"Whatever happened has happened," Sarfraz told media at the airport after landing from Cape Town.
This is also the first time ever Pakistan won an ODI against South Africa at the Wanderers
Shoaib Malik will lead Pakistan in the remaining two ODIs and the subsequent T20I series against South Africa
The Pakistan captain later apologised for the comment on Twitter.
Pakistan will play a three-match T20 series against South Africa after the completion of undergoing five-match ODI series
Imam's 101 spurred Pakistan to an imposing 317 for six but South Africa won by 13 runs according to the Duckworth/Lewis/Stern method
Nida Dar's 43 took Sydney Thunder down to wire in a nerve-jangling affair
Ominous signs for Australia as Pakistan right on top in tour match
AB de Villiers pulls out of roster for PSL 5
'I hope my efforts will help in the Test series' - Imran Khan
Babar Azam, Asad Shafiq centuries headline dominant batting display by Pakistan
Silverwood admits Malan's heroics have thrown up a 'selection headache'
Racists need to ride waves of change, embrace fresh outlook - Archer
Mahmudullah: We can't make these mistakes again and again
Duminy ruled out of MSL 2019 due to hamstring injury
Shane Watson named president of Australia's Cricketers' Association