While the X-Men have been fighting Magneto for decades, the Master of Magnetism was right all along. In many ways, the Krakoa era proves it. Alongside Charles Xavier and Moira MacTaggert, Magneto worked tirelessly to promote the creation of a mutant state. In doing so, he became a co-founder of the mutant nation of Krakoa, where mutants can live freely and without the threat of human provocation. The idea was nothing new to him.
Source:https://www.cbr.com/xmen-vs-magneto-philosophy-debate/