suggests that
a particularly difficult period may be followed by relief; it expresses hope rather than a guarantee that matters will improve immediately.
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.