I think we're saying the same thing. The argument is, "Was the F22/F18/Fwhatever/weapon-system necessary for threat mitigation? Yes."
With that said, if proponents of the F35 want to frame it as "threat reduction + cost savings" that's how they get the budget approved. But the point stands that without a threat, there's no basis for the cost savings argument. I'm not saying it was effective as cost reduction.
To circle back to the original point, it's much easier to get a budget approved when the basis is existential threat, rather than "science is cool."