26CONFIRMED: It Takes Place Minutes After Avengers: Endgame
The Spider-Man: Far From Home trailer had no mention of the events of Infinity War or the destruction of half of the universe, which led many fans to think that the movie was set pre-Thanos.
However, producers Kevin Feige and Amy Pascal have both confirmed that the film is not a prequel
and does indeed takes place after Avengers: Endgame. In fact, Pascal said, “We are starting now the next [Spider-Man], which will start a few minutes after Avengers 4 wraps as a story.” Therefore, it seems as though the Avengers somehow saved the day and brought Spidey back from the dusting.