beat the game vs gain mastery

beat the game

gain mastery

How often have the words beat the game and gain mastery occurred in a corpus of books? (source: Google Ngram Viewer )