warns that
a single harmful element can spoil an otherwise good whole, as a little poison can contaminate an entire cask of wine.
similar
one bad apple spoils the barrel
Imagine a case where even if a small part of something is bad, it could make the whole thing bad.; then “One drop of poison infects the whole tun of wine” fits well.