Drones have a very real weakness: they rely on a radio signal.
But that aside, the F-35 program was never really about building a fighter jet. It was designed from the beginning as a way to funnel 100s of billions of dollars into the defense industry and to keep that money flowing for decades.