Threat mitigation is largely nuclear shield; but if you’re taking about maintaining air superiority then the F-22 is where it is at. The Navy carrier fleets and Marines are force projection.
The JSF were sold around cost savings; half the price so you could buy twice as many.
I think you're taking a very narrow definition of what a threat means to make your point. To a Marine in Afghanistan, the threat was not mitigated by a nuclear arsenal. To them, close air support from a technologically inferior aircraft like the A10 did a better job of eliminating a threat than the F22 in many instances. To the original point, this is why it became difficult to retire the old plane despite the JSF and F22. It could be tied to a specific threat, and that meant it was politically much easier to defend keeping it around even if the business case was that it costs too much money. At the end of the day, politically defending a budget is much easier if it can be concretely tied to a credible risk.
The JSF were sold around cost savings; half the price so you could buy twice as many.