...time travel. If the survivors go back in time and prevent Thanos from getting the infinity gauntlet then the snapping never happens and everybody lives. New Spider-Man is supposed to take place right after “Avengers 4” ends (which is allegedly in the past).