People back then sort of figured out that drinking plain water came with risk while drinking alcohol seemed to go better.
Much older than just back then. Paul told Timothy to mix a little wine with his water, likely they did that because they knew water was not exactly clean and the wine helped.
That is why the pirates used rum. It was the only way to sanitize their drinking water. Arrrrrrrrrr!
EC
that’s my understanding