Minecraft wiki entry for How_to_get_rid_of_a_rogue_wither, associated text: A bow enchanted with Unbreaking III, Infinity and power V. A crossbow enchanted with Quick Charge III and possibly Multishot, or in a pinch, a Trident enchanted with Loyalty III will do as backups, but the bow is your best bet.