This ruins absolutely nothing about endgame. Right after infinity war some people were like “well they snapped all the people who are most likely coming back and Spider-Man already has another movie coming!” This shows nothing about what could have happened in Endgame. We already knew Spider-Man was coming back in some way.