Spider-Man and Magneto have opposite trajectories.

Peter Parker is a naturally selfish, petty and cruel person who’s been traumatized into becoming a self-sacrificing hero.

And Magneto is a naturally kind and self-sacrificing person who’s been traumatized into becoming a murderous villain.