infirmity vs worm in the apple

infirmity

noun
  • a moral weakness or defect 

  • feebleness, frailty or ailment, especially due to old age. 

worm in the apple

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

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