Ecclesiastes 10:1

New International Version Bible (NIV)
As dead flies give perfume a bad smell,
    so a little folly outweighs wisdom and honor.

Read Ecclesiastes 10:1 in other translations