gain mastery of vs prevail against

gain mastery of

prevail against

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