Don't want to bug in the duscussion but Pre Shinjuu Madara was stated to get close to Hags power and trying to reach Kaguya. He wasn't trying to close to Hags. He actually was getting close to him.

But Feats show otherwise. TBH "close" could mean anywhere from 10% - 50%, We really don't know. But since this statement was made when Madara only had 1/2 Rinnegan and 10 tails, I seriously question Hagoromo's statement of Madara getting "close" to his power.
This same Madara was overwhelmed by base SPSM Naruto without cloak, and after Shinju was absorbed Madara was still sliced in half and blitzed by Rinnegan Sasuke. So a version of Madara that Hagoromo said was getting "close" to his power got a even bigger boost after god tree absorption, but this amp was still not enough to be superior to Rinnegan Sasuke or SPSM Naruto.
So even with a amp Of Shinju Tree which had absorbed countless chakra with Obito, was still getting beat by two beings who only have 50% of Hagoromo full power each + their own added powers like EMS, and Kurama.
If Madara was actually anywhere near Hagoromo full power he wouldn't of struggled so much with Naruto and Sasuke.
The story implies they are at least in same realm of power after Madara gets his second eye, as Naruto clones are able to match the limbo clones, and counter all of his meteors. Sasuke said Kaguya was in another realm of power than Madara, and Naruto sliced off her arm, while Kaguya had to dodge sasuke's Chidori in her dimension. Just saying feats >> statments, especially in this case