confine oneself to vs deviate from

confine oneself to

deviate from

How often have the words confine oneself to and deviate from occurred in a corpus of books? (source: Google Ngram Viewer )