defy danger vs hang by a thread

defy danger

hang by a thread

verb
  • To be in danger, calling for precise caution; to be in a precarious situation. 

How often have the words defy danger and hang by a thread occurred in a corpus of books? (source: Google Ngram Viewer )