It turns out making an integrated next gen platform with non COTS technology is extremely expensive. And in some cases a next gen jack of all trades > previous gen masters.
One thing I've seen brought up in the past when air superiority roles are being discussed. If it can take out its opponents before they even know it is there, then it doesn't matter if it's better in a dogfight. And that's quite possible at the moment.
The opponent will know it is there the moment it fires a missile. Anyway, that is the only role where I have heard of it being superior to its predecessors. Has it ever been used in that role? It seems like the military is trying to use it for everything but that, since the role is almost never used in modern war.
The F-22 is also far better at that than the F-35. Its production was discontinued precisely because there is no need for aircraft to fill that role. :/