Pain and Madara were objectively good though.
I honestly I don't see why madara was so fixed on bring peace to the world when the whole shinobi world already turned against you. if your clan turns their back on you, your best friend can't understand you, you have no family, take yo ass off into the mountain to live in peace or become "Rurouni Kenshin".
That's one of the reason why I hated Sasuke. He want to become hokage so his brother's sacrifice won't go to waste? Man...gone somewhere with that shit. All he had to do is help save the world, then go travel for the rest of his life.
If kishi really want Sasuke to go down this dark route, he should've at least have Sasuke create a guild of people who have been mistreated by the shinobi system so he represent the injustice of the shinobi system. This way, Sasuke really have a reason for the way he acted in the VoTE2 fight.
All of the villains were confused with their ulterior motive primarily because they were running away from their problems and not facing it except for Zaheer who actually wanted to build a new world order and Unalaq who decided to open something from the past which was pretty interesting but in the end he gave into jealousy. The 1st and 4th season villains weren't villains at all and had very weak ideals for moving the plot forward.
1st villain lightweight had a good reason. 4th villain....her queen was killed. She wanted to make sure her people never be touched like that again. She wanted her people to be the best. That's a good reason.
But I get what you're saying. But Obito reason for waging war is lightweight ass. Sasuke's reason for going after Danzo was legit until Kishi decided to destroyed Sasuke character and make him want to burn the whole village down.
Hebi Sasuke didn't harm anybody that done him no harm. He spared to people's life. His only goal was Itachi! Kishi destroyed that type of mindset.