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.
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. :/