ok but can we talk about how in the German version of FFH E.D.I.T.H. stands for "Ewig Da, Ich Toter Held" which basically means "Always here, I Dead Hero" (bad translation ik but Germans are the worst at translating) which is a very interesting line.
As we remember, Peter asks E.D.I.T.H. in the bus if Tony made the glasses for him, which he did not. So that basically means that Tony knew that he is going to die.
Now if we watch for example Age of Ultron, the vision he sees where everyone is dead, could have theoretically lead him to making this very expensive defense system.
Also in Endgame he talks about how he wanted to put a shield around the earth to protect everyone from his vision but noone let him because yk they are stubborn.
But so is Tony. Which probably led to him building the system anyways. And as E.D.I.T.H. confirms on the bus, there are multiple satellites probably equipped with more drones and maybe even some suits (like Iron Man 2).
What are you trying to tell us here? You probably wonder.
Well let's put it that way: Tony suffered from PTSD for like 10 years and he knew he was going to die. He knew it. And he knew that Peter is going to be crushed because of that, so he gave him the glasses with the message that he'll always be there, in the glasses.
Thank you for coming to my TED talk.