futilely vs vainly

futilely

adv
  • In a futile manner. 

vainly

adv
  • In a vain pursuit; to no avail. 

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

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