Why did sailors originally add rum to water?

To prevent water from become slimy

**********