suggests that
even a period of intense hardship may be short-lived; the saying offers encouragement rather than a guarantee that every crisis will end quickly.
also
The sharper the storm, the sooner it’s over.
Imagine a case where to provide solace or hope in tough times, suggesting that the most difficult periods, while intense, are often short-lived.; then “The harder the storm, the sooner it’s over,” fits well.