foiled vs to no purpose

foiled

adj
  • Having a foil. 

to no purpose

prep
  • Without a meaningful result; in vain. 

How often have the words foiled and to no purpose occurred in a corpus of books? (source: Google Ngram Viewer )