Water can be safe for drinking leaving the treatment plant. Whatever happens to it during the delivery makes a big difference.
Most first world safe water leaving the plant becomes questionable if the delivery infrastructure is old, or contains questionable materials