What is the meaning of [there’s a pot of gold at the end of the rainbow]

Some things can never be achieved; used when people chase after ideals or ambitions that constantly elude them