The story
A reference to Ecclesiastes 10:1 in the Bible (King James Version; spelling modernized): “Dead flies cause the ointment of the apothecary to send forth a stinking savour: so doeth a little folly him that is in reputation for wisdom and honour.”
Etymology from Wiktionary, CC BY-SA 4.0.