give up (on) vs soldier on with

give up (on)

soldier on with

How often have the words give up (on) and soldier on with occurred in a corpus of books? (source: Google Ngram Viewer )