When young, I am sweet in the midday sun. In my middle-aged years, I bring you joy, not tears. When old, my value is almost as gold. What am I?

Wine.

Source: Riotous Riddles