The problem with Magneto's worldview is that its a self-fulfilling prophecy.
Magneto Believes theres a war coming and humanity will never accept mutants. So he behaves aggressively to gain the upper hand, which in turn makes humanity fight back or be distrusting of him, thereby beginning a war...