Minecraft wiki entry for Slowness, associated text: A weapon enchanted with Bane of Arthropods inflicts Slowness IV on spiders, cave spiders, silverfish, endermites and bees; duration is dependent on the enchantment level.
Levels 7–127 render the player unable to move unless jumping while throwing an ender pearl.
Alternative methods of reducing travel speed include: walking on soul sands, slime blocks, or honey blocks, or through berry bushes or cobwebs; swimming; riding a boat on land; sneaking; eating; drinking honey bottle, milk or a potion (travel speed is reduced while drinking any potion, regardless of the effects of the potion after drinking is finished); aiming a trident or bow, charging crossbow and blocking with a shield.