Ancient civilizations used whatever they had on hand to combat infections. That might have included glues like birch tar, which we think Neanderthals used, which turns to have antibacterial properties.
Link: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0343618