apply oneself to vs give one's attention to

apply oneself to

give one's attention to

How often have the words apply oneself to and give one's attention to occurred in a corpus of books? (source: Google Ngram Viewer )