chasing rainbows vs tilt at windmills

chasing rainbows

tilt at windmills

verb
  • To attack imaginary enemies. 

  • To go on a wild-goose chase; to persistently engage in a futile activity. 

How often have the words chasing rainbows and tilt at windmills occurred in a corpus of books? (source: Google Ngram Viewer )