In this whole fight madara had he not had the rinnegan + mokuton he would´ve died 3 times in that whole fight, being edo helped him alot.
The kages were close to dying yes but Madara basically died 3 times already.
You're kidding right?
He was literally playing with the Kages, and hasn't used Rinnegan or Mokuton to their full potential, not by a long way yet.
Example; He could of absorbed Naruto's RS with Preta, but as he is Edo, he could choose not too
Every 'death' Madara had is when he has been toying with the Kages, relaxing, being arrogant and letting his guard down. If he was serious, Chibaku Tensei, Meteor spam, Mokuton destruction and Perfect Susano'o would have been used a lot more, and a lot earlier.
Madara destroys the Kages