Dont fall for the F-35 is a failed program crap. It is an extremely capable strike fighter, and getting more so as software updates are rolled out.
What it isnt, and was never meant to be, is an air superiority fighter like the F-22.
According to this military website, it lost dogfights.