chase a rainbow vs fight windmills

chase a rainbow

verb
  • To pursue something illusory, impractical, or impossible. 

fight windmills

How often have the words chase a rainbow and fight windmills occurred in a corpus of books? (source: Google Ngram Viewer )