Machiavellianism vs making the best of a bad job

Machiavellianism

noun
  • A psychological trait centered on interpersonal manipulation, unemotional coldness, and indifference to morality. 

  • Any ruthless, duplicitous behavior. 

  • A political philosophy, based on the writings of Machiavelli, especially The Prince, that advocates the use of ruthlessness and duplicity in political dealings. 

  • A political maneuver that exemplifies the philosophy. 

making the best of a bad job

How often have the words Machiavellianism and making the best of a bad job occurred in a corpus of books? (source: Google Ngram Viewer )