I've honestly always been critical of whether stealth is worth it. It requires high maintenance to keep working correctly, and radar is always getting better, especially when the US and China are actively attempting to develop radar that can identify stealth aircraft because both nations have stealth capable aircraft. Stealth aircraft also have less mounts to carry weapons, and are typically less aerodynamic and agile. We also have to think about what we're planning to do with these planes. Canada has no aircraft carriers and if our relationship with the USA is bad, will they end up mostly used to protect the homeland? Also as mentioned with a flick of a switch the US can disable much of the electronic features on the F-35 remotely.
The SAAB Gripen should have been chosen from the start. It's a capable fighter, and the production was set to be in Canada, which will give us the opportunity to develop our own military industry, which is much more of an importance now.