Buon tempo e mal tempo non dura tutto il tempo

Lit. “Good times and bad times don’t last all the time”

What does it mean?

Happiness and sadness don’t last forever. So never let yourself down or think you can’t be won. It is also used when talking about the weather as tempo in Italian means time but also weather.