inflexibility vs perseverance

inflexibility

noun
  • The quality or state of being inflexible, or not capable of being bent or changed; unyielding stiffness 

perseverance

noun
  • Continuing in a course of action without regard to discouragement, opposition or previous failure. 

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