Canada needs to provide a budget for defense to support common interests with its allies (US, NATO etc).
It did that quite well until the 70's then as a result of funding and prioritization on peace missions, its military capabilities deteriorated. I think that trend has reversed a little, albeit slowly.