The chance to succeed Ban Ki-moon at the UN went to the best man for the job