Does it have to be? Here's a similar jet: the Dassault Rafale. Its also multirole. Its not nearly as good as the F-35. Is it better than the F-22 in air to air combat? Nope. Did it shot down a F-22, ever? Yes (yes - they have official combat simulations with real planes, only the missiles are not real - and those are made to sell the airplanes so there is no incentive to go easy). Does that means its better then? Nope, still not. Most of the time, it loses.
There's several points here:
- you dont have to be the best tool for the job to be the best all rounder.
- sometimes the best all rounder is better than the best tool for the job. its cheaper (imagine 3 or 4 F-22 scale programs vs 1 F-35 program), and it does the job well enough for many tasks. in fact, air to air superiority is one of the only tasks where you currently need to specialize. Turns out that the army has done this choice as well and has the F-22.
- views you can see or read of what is "better" or "worse" regarding fighter aircrafts is most of the time completely wrong and extremely misleading. Most people have extremely, extremely high financial interests in this. Billions and billions. War is a very juicy business.
One of the points of the "co designer of the F16" (mind you, id take a F15 over a F16 ANY DAY) are the "small wings" of the F35 giving it mediocre lift.
I like this one. The F-35 has better lift and better aerodynamics than the F-16 or the F-15, or the F/A-18. But its non-obvious. This engineer knows that. The general public doesn't. (note that the main reason for this, beside better design for aerodynamics is that the body of the plane provides most of the lift).
Some of the other commons points are generally either plain false, either have truth in them but pushed further than the reality.