pay the penalty vs undo

pay the penalty

verb
  • To incur negative consequences of one's deeds; to suffer as a result of some choice. 

undo

verb
  • To impoverish or ruin, as in reputation; to cause the downfall of. 

  • To reverse the effects of an action. 

  • To unfasten. 

noun
  • An operation that reverses a previous action. 

How often have the words pay the penalty and undo occurred in a corpus of books? (source: Google Ngram Viewer )