"If you have the moon you don't have to look the star"

What does the phrase below mean or imply?

"If you have the moon you don't have to look the star"

I don't know. It reminds me of a line from a movie, "Now, Voyager" .

Charlotte Vale: Oh Jerry, don't let's ask for the moon. We have the stars.