The Sage of Six Paths is a formidable opponent, but he definitely won’t be able to stop Kaguya. Kaguya can use her dimensional abilities to cause the Sage of Six Paths to fall into a vat of lava. There really isn’t all that much he can do to stop her since Kaguya is also faster and stronger than him. The Sage will have to take the loss. Kaguya wins.