It lacks the range and, most significantly, low-observability of the F-35.
Gripen is a 1980s design updated with the latest software, just like Typhoon and Rafale. The F-35 is a 2000s design, there's just no way to close the stealth gap with it.
Stealth gets a lot less effective when either bistatic or passive radar is used. I'm fairly certain that we'll find out in the long run that it's been countered by our adversaries.
This vulnerability is why KrakenSDR had to pull one of their git repos a few years ago.
Stealth might help at long ranges, but think of it like locks on doors, only effective at keeping honest people out.
Gripen is a 1980s design updated with the latest software, just like Typhoon and Rafale. The F-35 is a 2000s design, there's just no way to close the stealth gap with it.