Bane of Arthropods is a weapon enchantment, meaning it can only be applied to swords and axes. Each level of Bane of Arthropods that is on a weapon increases its damage by 2.5 (or 1.25 hearts), but this damage is only applied when attacking an Arthropod mob.