The F-35 isn't the pinnacle. Its a ham-fisted attempt to replace several other aircraft whose performance is far superior to the 35 in nearly every individual area.
On top of that, look at the percentage of the F-35 fleet that is actually operational at any given moment. The majority is either partially functional or totally grounded. There aren't enough parts and experienced mechanics to fix these perpetually broken machines.
That's why we still fly 15s, 16s, 18s, and A-10s in combat missions. The 35 has yet to actually replace any of them in any real way.
The 22 is a far better aircraft, but it faces similar technical issues.
For raw performance data, the F-15 is still the best performing aircraft ever produced because of how the Israeli military has put it through its paces for decades. (Not a statement of support, merely reporting facts.)
And even to your point, if I'm now a marked target well over the horizon that means my stealth mission is entirely compromised. How are you going to eliminate a target that sees your sneak attack coming? Full scale invasion? Yeah, that'll go well in China.