Chapter 40 opens the chapters of consolation after the Temple's destruction and the national exile.
We compare these words of comfort with the expressions of doom and abandonment in Eikha.