This idea that the Uchiha were selfish and put their family above everything else is so obviously false based on the story, and a mere example of how of Konoha's leading class projected their faults on them.
In the warring era, some evil Uchiha abused a powerful jutsu to unfairly gain power, and what did the rest of the Uchiha do? Turn their backs and let them? No, they made a counterjutsu to confront them and put an end to the problem.
Madara had just lost his brother, was broken in pain. And what, did he go crazy so-called-curse-of-hatred mode? No, he gave up justice for the person he loved most in the world in exchange of peace, just because he believed Hashirama, his enemy, was offering a treaty in good faith.
Madara finds Hashirama is a shameless liar and tries to get the Uchiha to break the treaty, what do the Uchiha do? Follow him and resume war just because he is Uchiha? No, they explicitly discredit him and send him away.
Sasuke finds that Konoha murdered his whole family just because its leaders were power thirsty genocidal jerks, does he just go and automatically join Obito and Madara because they are Uchiha? No, he summons his enemies to hear their part of the story and ends up fighting against the two evil Uchiha to help save the village.
They are profiled and accused of acting on hatred and emotions, when over and over again we are shown evidence that they do what is fair. Even when they are targeted, mistrusted and treated like enemies.
You know who puts their own above the village, above peace, above justice and above whatever is needed? Freaking Konoha's leadership. Hashirama put his brother above everything, risking the treaty and Konoha, letting him do racist crap as he pleased. He put him above everyone's safety letting him develop the evil zombie army jutsu. Hiruzen put his student and friend above everything, turning a blind eye to their crimes. Naruto himself is putting his own interests and his predecessors above everything, never holding the advisors responsible for their crimes, sweeping everything under the rug.
All lies, all vicious slander to justify their crimes.