frittered away vs not needed

frittered away

not needed

How often have the words frittered away and not needed occurred in a corpus of books? (source: Google Ngram Viewer )