In reality our peacetime military has been a welfare project to assist the US in whatever (mis)adventures it gets in around the globe. Our choice of jets, guns, vehicles, and so on is predicated on "when the US drags us into some conflict or other, what equipment integrates with whatever their goals are". So when we signed up for the F-35, that was purchasing criteria.
The world is quite obviously changing. If Canada were seriously interested in true self defence against all realistic foes, it would be nuclear weapons and nuclear powered submarines...like the sort the US blocked us from being able to buy from the UK back in the 80s.