Banu Qurayza

Your logic is flawed. You are trying to equate the men of the Banu Qurayza, who engaged in treasonous activity during a battle, with the opponents of the Taliban, who are not traitors.