These are two planes with two different missions.
F35 is close air ground support primarily with the ability to go toe to toe and be stealthy.
F22 is advanced air defense via stealth. Denying our enemies the sky. We need them both. Without the F22, the F35's are vulnerable. If the F35's are vulnerable, our troops on the ground are vulnerable.
Oh I agree but the original post was about the F22. The 35 probably will be scrapped and we will be left with the F18 Super, the B1,2 and the BUFFS. The Air Force might stretch the F16 ground attack variant well into the future but that platform has limitations also. Of course these are the same guys that wanted to scrap the Warthog. It out performed everything in GW1.
Air dominance is better insured by better missile/bomb/satellites than by Ultra advance and expensive planes