Most alien/extra-terrestrial tropes based movies often depict them as losing despite being far more advanced physically and/or technologically. This is seen in cases like Aliens, Predators, Independence Day (computer virus, seriously?!), Species, Pacific Rim, Edge of tomorrow, you name it.
In some movies we see aliens losing interest or probably over protective of humans. Arrival, Day the earth stood still, etc. And in some very few movies it's depicted as though we lost war, like Andromeda Strain (2008 miniseries, not the 1971 movie where we succeed), Invasion of body snatchers, Cloverfield, etc.
I've excluded space opera from this because it deals with way too many species (mostly anthropomorphic) and often end up with a democratic union of sorts. That's out of scope of this question anyway.
The very idea that these aliens have travelled across space is evidence enough of their superiority anyway. Why are film makers hell-bent on showing humans as stalwart heroes who can overcome any sort of adversary who are intellectually, physically and technologically far superior to humans?
Note: This is not a duplicate of another question as the idea clearly portrays that there are bad guys. Where as aliens in Aliens or Predator are not bad nor are shown as bad. Aliens are merely surviving, while Predators are just hunting. This is clearly different from a dedicated 'bad guy' trope whose intentions are evil.