His punishment

Do not fear, O Jacob My servant, says the Lord, for I  am  with you; for I will make a complete end of all the nations to which I have driven you, but I will not make a complete end of you. I will rightly correct you, for I will not leave you wholly unpunished.   Jeremiah 46:28

The LORD intends His punishment to be restorative, but if it is resisted, it is destructive, without restoration.