gain mastery over vs walk all over

gain mastery over

walk all over

verb
  • To easily beat a competitor in a contest; to win without much effort. 

  • To dominate a person or a group; to have a person take a submissive or inferior role. 

  • Used other than figuratively or idiomatically: see walk, all, over. 

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