Naruto and Sasuke could have stop this waaay before and it is Kishi and the Sage Of Six Paths fault. Since IT turns everybody into white zetsues why didn't the sage tell naruto and sasuke that and why didn't he just tell Madara that either because Madara has Indra energy. If I can use that logic , why didn't the Sage tell Madara that Kaguya was going to take over since the Sage could have known about the zetuses. Why didn't the Sage tell Naruto before Madara absorbed the juubi then Naruto instead of rushing in could have run away . Hell , why didn't the Tailed Beast just blew Madara away before he got the eye to then suck them in ....