At the end of the portion of the Tochacha, it says that we will be chased out of Eretz Yisrael and dispersed among the nations, the foreign lands will consume us, etc.Then it says, in 26:44, that despite that, even while we are in the lands of the enemy, I will not break my promise and I will not destroy you.
Why mention this while delineating all the punishments and curses? It seems counterproductive? Harsh warnings, but don't worry so much. Doesn't make sense!
Maybe the Torah is offering a light at the end of the tunnel. Any period in which these curses are actually brought upon us, would be a very dark period. That can lead to despair and depression. People will give up hope and think there is no way to come out of it, personally or nationally.
The Torah says, despite all that, despite all the curses, I will never break My promise. I will never destroy you. You have a future. Keep trying to improve. There is still hope. Remain positive.