draw a line in the sand vs imperil

draw a line in the sand

verb
  • To lay down a challenge; to provide a test of commitment (often one which carries a high risk) to a cause. 

  • To create a real or artificial boundary or distinction between (two places, people or things). 

  • To indicate the threshold or level above which something will become unacceptable or will provoke a response; to create a boundary and imply or declare that its crossing will provoke a (negative) response. 

imperil

verb
  • To risk or hazard. 

  • To put into peril; to place in danger. 

How often have the words draw a line in the sand and imperil occurred in a corpus of books? (source: Google Ngram Viewer )