pantry moths aren't fans of vinegar - regardless whether it's wine or apple cider vinegar. the scent of this liquid effectively deters the insects. for this reason, it's a good idea to add a few drops of vinegar to water when cleaning cupboards and shelves. you can also use vinegar to make a homemade pantry moths trap.