Fortunately, infections transmitted in bad water can be cured. There is at least one antibiotic which works well against amoeboid parasites, and another which usually works against bacteria. Treatment costs money, of course, and in many countries that means the treatment is not widely available.