The most qualified candidates for what? 100% of people in the military have passed the ASVAB. And the most capable people in the military are EXTREMELY intelligent.
The problem is unlocking that brilliance in an organization which has LOTS of office politics, cross currents, uncoordinated long term goals, too many interests who get to requirements to every project, etc.
And the biggest problem is that everything the US military decides long term needs sign off by Congress, so there is always a political dimension to every project approval. Congress laughs at the F35 as the “world’s largest jobs program” with components built in just about every member’s district. The A10 is unlikable because Congress wants to keep it around, even though the AirForce thinks it’s cheaper (logistically) and safer to use other aircraft for the role. Not everybody is thinking about the same factors.