it's always darkest just before the dawn
The worst part of an experience or period usually happens just before things get better. When I was lost in depression, friends tried to remind me that it's always darkest just before the dawn.
It's always darkest just before the dawn.
See The darkest hour is just before the dawn.