obstacle vs worm in the apple

obstacle

noun
  • Something that impedes, stands in the way of, or holds up progress, either physically or figuratively 

worm in the apple

noun
  • A serious flaw in something otherwise good; a problem that ruins everything else. 

How often have the words obstacle and worm in the apple occurred in a corpus of books? (source: Google Ngram Viewer )