What is the meaning of [he that lives in hope dances to an ill tune]

It is unwise to let your future happiness or well-being depend on expectations that may not be realized.