A great man’s greatest good luck is to die at the right time.

Eric Hoffer (1902-1983) American writer, philosopher, longshoreman
Passionate State of Mind, Aphorism 276 (1955)
    (Source)

Also see Rogers (1928), Muggeridge (1972).