Chase a rainbow.

Meaning: To pursue something illusory, impractical, or impossible.