This gives me an opportunity to opine on how many people have badly misunderstood the original 1986 movie. Far from exalting Maverick (the fighter pilot character played by Tom Cruise), the film is actually a biting condemnation of him. He does almost everything wrong until near the very end. The real hero, if there is one, is Iceman, the much more calm and rational pilot played by Val Kilmer.
There follow spoilers for the 1986 movie. If that bothers you, all I can say is you clearly do NOT feel the need for speed. And you can never, ever be my wingman!
Here's a nonexhaustive list of Maverick's terrible mistakes that the movie condemns:
After 7, Maverick FINALLY sees the error of his ways, and he redeems himself in the engagement that ends the move - in which he pointedly does NOT leave his wingman. He belatedly recognizes Iceman was right all along and (sort of) reconciles with him.
It's true that even before this Maverick was an incredibly talented pilot, and a very brave man. But, as Iceman points out, his "dangerous and foolish" behavior made him more of a menace to his own side than to the enemy. The point of the movie is that you should NOT be like Maverick.
Many people miss the point of the story because 1) Maverick is the protagonist, and many assume the protagonist must also be the hero, 2) Iceman is - superficially - set up to be a kind villain/antagonist because we see him mostly through the eyes of his jealous rival Maverick and the latter's best friend Goose, and 3) Tom Cruise is an incredibly charismatic actor.
But it's true, nonetheless! The lesson is to "never, ever leave your wingman," and don't be a "dangerous and foolish" prick. Only after you learn these truths will you be fit to enter the danger zone!