fruitlessly vs vainly

fruitlessly

adv
  • In a fruitless manner 

vainly

adv
  • In a vain pursuit; to no avail. 

  • With a vain attitude; in a self-approving manner. 

How often have the words fruitlessly and vainly occurred in a corpus of books? (source: Google Ngram Viewer )