give up for lost vs write someone or something off

give up for lost

write someone or something off

How often have the words give up for lost and write someone or something off occurred in a corpus of books? (source: Google Ngram Viewer )