defeat one's own ends vs overdo it

defeat one's own ends

overdo it

How often have the words defeat one's own ends and overdo it occurred in a corpus of books? (source: Google Ngram Viewer )