pit someone or something against vs put in competition with

pit someone or something against

put in competition with

How often have the words pit someone or something against and put in competition with occurred in a corpus of books? (source: Google Ngram Viewer )