Après la pluie le beau temps, literally “after the rain, good weather”, is not used to talk about the weather but more generally about life. It suggests that difficult times will be followed by better ones. The closest expression in English would be “There is always light at the end of the tunnel”.
