be defective vs give up the ghost

be defective

give up the ghost

verb
  • To cease clinging to life; to die. 

  • To cede a commitment to or identification with. 

  • To quit; to cease functioning. 

How often have the words be defective and give up the ghost occurred in a corpus of books? (source: Google Ngram Viewer )