proverb

It is always darkest before the dawn.

Theme: hope Keyword: sun

suggests that

a particularly difficult period may be followed by relief; it expresses hope rather than a guarantee that matters will improve immediately.

Example

Imagine a case where the most difficult time is just before the problem is solved.; then “It is always darkest before the dawn” fits well.