Or perhaps "just" the wisdom to understand that organisations need a change in leadership from time to time, and that such change is best made (as stated) at a time when the organisation is strong and the pressures low. Every leader eventually runs out of steam.
My own opinion is that leaders ought to pre-announce their resignation date on the day they take the job in the first place, and that date should be not more than 5 years after they start. Five years on and you're running on empty. Time to move on.