I don’t know if this will help anybody, but I fought the wither over a large body of water. Obviously when you’re underwater explosions don’t hurt you nearly as bad as when you’re not. First phase just shoot him a crap load with arrows, his flight pattern his crazy and sporadic as all hell. Second phase, just attack him with your sword like usual. He tends to just sink in the water, which makes it really easy to get close and hit him without having to worry about the spawning skeletons.
Also last. Just make sure to bring a crapload of Regen potions, and maybe a strength potion, or buckets of milk.
Dumb idea, but… (Bedrock Wither)