inflict vs oblige

inflict

verb
  • To thrust upon; to impose. 

oblige

verb
  • To constrain someone by force or by social, moral or legal means. 

  • To be indebted to someone. 

  • To do (someone) a service or favour (hence, originally, creating an obligation). 

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