Magneto is a fantastic character. His methods for trying to bring about liberation and revolution to help his people and avoid repeating the horrors that he saw in the holocaust, and noble and reasonable.
But he is framed as a villain, because he isn’t nice and sweet like Prof. X, and doesn’t that just say so fucking much right there?
X-Men is a metaphor for marginalized and oppressed people, yet is written very often by white, cis, straight men. And they frame the passive, non-threatening “everyone just get along” Prof X as the hero, and the man who is actually willing to take drastic action to protect the lives and liberty of mutants as the villain.
I side with Magneto.
Magneto is a bad guy because he uses violence and terror to get what he wants. He isn’t just “mean” about what he says, he actually breaks into military bases to steal missiles and point them at people. He’s not just “argumentative” about things, he actually constructs super weapons to use against the general populace.
And yes, the world governments within the context of X-Men are at least as bad, probably worse, because they either actively support or simply condone the hunting of mutants, either by the government or by fringe paramilitary organizations.
Team Hero consists of Xavier and his crew because they’re the only ones who aren’t out to hunt down and kill the opposing side all the time.
There’s a nobility in the “defending your people” thing that Magneto is going for, but he’s also still a violent terrorist. Like, he’s an actual literal terrorist from the 90’s, before terrorism was even cool.