The answer to your question can be found on Google.  Khadr was indoctrinated from a very early age by his parents to believe that OLB was fighting a just cause.  His parents sent him for military weapons training when he was 10 years old.  He was in Afghanistan to fight what he'd been told to believe was a good fight.