Had Allah wished He could have taken vengeance on them , but that He may test some of you by means of others . As for those who were slain in the way of Allah , He will not let their works go fruitless .