The Lord says to Jeremiah, "Can't I do the same to you, O house of Israel?"
We can read this as history or prophecy. Sin has consequences.
And we can read this as a reminder that although God is our creator, we are judged on our response. And, we need to remember that we can rectify our wrong responses.
Even in our sinning, we can repent. We can change. And, also, the Lord can change. The Lord said to Jeremiah that day, "You've got some time. I can change my mind. Turn now from your evil ways. Start doing what you are supposed to be doing."
Jeremiah may have been remembering appeals that the people had made during times of oppression before. For example, at a time when the nation was being oppressed by the Ammonites, they asked God to save them. They asked this even though they had abandoned God and turned toward foreign gods. God did help them because, we are told, "he could no longer bear to see Israel suffer" (Judges 10:6-18). And not just Israel. God had coerced Jonah into preaching to the sinful Nineveh, "Tell them I am going to destroy them unless they turn away from their violent acts." Then, when they did repent, "God changed his mind about the calamity that he had said he would bring upon the and he did not do it" (Jonah 3:1-10).