That only works in an ideal world, where you start off with a great leader, who dies a natural death, but makes a will passing on his throne to the next good leader, and so on.
But in real life, there are endless possibilities. After the guy dies, there can be a war of succession, and the "bad"...