Quote1 And then it occurs to me... what if I went back? What tragic missteps could I right? A new future, in which Otto Octavius gets credit for my deeds, not Peter Parker or Spider-Man. Quote2
-- Spider-Man src

In this reality, Spider-Man took advantage of Beast's offer to see the time machine that brought the Time-Displaced X-Men to the present. He then went back and taught his past-self how to be a hero.