Why doesn't the Sage of Six Paths undo the Infinite Tsukuyomi himself? It's stated that the Infinite Tsukuyomi can be undone by someone who has the Rinnegan and the chakra of all the tailed beasts weaving the rat seal. But the Sage of Six Paths has them too. Why does he not do it himself?
The sage of six paths doesn't have the chakra of all the tailed beasts he had that when he was alive. And the sage was dead when kaguya was revived , he came from the afterlife through the chakra network to help the reincarnates of indra and asura  .