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
Sana Mir left out as Pakistan announce T20 World Cup squad
Domingo confident of Bangladesh's solid show in Pakistan
Quinton de Kock appointed South Africa's ODI captain
Pakistan Under-19 team claims a dominant win in their opening World Cup game
Tendulkar, Walsh named coaches for bushfire relief match between Ponting XI and Warne XI
Amad, Ahsan in good spirits ahead of T20I series against Bangladesh
WATCH: Top performers from Lahore Qalandars vs Quetta Gladiators
Pakistan look to return to winning ways against spirited Bangladesh
New Zealand seek 'fresh start' against India, aim to put behind old demons
Pakistan’s T20Is top-ranking in danger against Bangladesh