The correct answer is that heroic tales about legendary founders helped legitimize new rulers
The new rulers more or less established that they are like those heroes from the tales and that they could lead the country in a new era that was like the old one. They considered themselves to be as great rulers as those from the national stories.