From Jeremiah 36:3, we see that when God pronounces judgement, it is not that He hates us and wants to punish us. It is so that when we hear the terrible things God is going to do, we will fear Him/become wise, and turn from our evil way so that God may forgive our iniquity and our sin.