This is a long-standing myth. Here’s a thread with links to past answers explaining the myth.
Ironically, researching fermented beverages and the causes of contaminated wine for French wine makers was how Louis Pasteur discovered that microbes could cause spoilage and started to develop germ theory.