Unfortunately at Vimy and Kandahar, our troops were not fighting for Canada. 

WW1 was a European war, a repeat of numerous wars, generally fighting among families.  Canadian troops, were fighting for Britain. 

Kandahar was part of the attack on Afghanistan by our best friend. The US had been interfering in the Middle East and adjoining areas for decades. The Arabs/Muslims responded with several attacks including 9/11.  So by joining the US in the invasion,  Canada was interfering in an ongoing war between the US and Muslims.