There are also sources in Biography of Flowers on the Sea and Seeing the Present Situation of Monsters in Twenty Years, but Hanshu is its original source.
It means: good things can only wait, not be forced. Love is hard to find, so cherish it once you have the chance.
References:
A Dictionary of Chinese Idioms and a Dictionary of Modern Chinese Idioms