confine oneself to vs restrict oneself to

confine oneself to

restrict oneself to

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