It's trivial to not have this problem, the fact that a relatively large fraction of the world's population needed intervention to fix this is an indictment on our collective will.
You may have read, or at least heard about John Green's book "Everything is Tuberculosis". Treating TB is, by comparison to Guinea Worm, really hard. When medics tell John that - all being equal - nobody should die of TB because we could just fix it, they mean with like a hospital full of doctors to diagnose and prescribe treatment, pharmaceutical companies to make the drugs, stuff that looks like technology to you.
To eradicate Guinea Worm Disease you need basic clean water. I'm not talking "Wait, does this tap water meet current national standards for UV treatment?" clean water, I'm talking like, "don't drink directly out of the village pond" clean water. That's really what it takes for this to just go away on its own. The interventions are because crazily in 2026 large numbers of humans do not have ready access to clean drinking water.