Jeremiah 36:2-3
2 “Take a scroll of a book and write on it all the words that I have spoken to you against Israel, against Judah, and against all the nations, from the day I spoke to you, from the days of Josiah even to this day. 3 It may be that the house of Judah will hear all the adversities which I purpose to bring upon them, that everyone may turn from his evil way, that I may forgive their iniquity and their sin.”
2 “Take a scroll of a book and write on it all the words that I have spoken to you against Israel, against Judah, and against all the nations, from the day I spoke to you, from the days of Josiah even to this day. 3 It may be that the house of Judah will hear all the adversities which I purpose to bring upon them, that everyone may turn from his evil way, that I may forgive their iniquity and their sin.”
God sent prophets to lead people to Himself; He had them write His words down so we would have a chance to read and contemplate what God said and what He wanted. But most of all, He wrote about who He is and what we were made to be (and what and how we became). His intent has always been that we should not die and be rightly punished, but listen, turn, trust, and follow - He loves us who He made in His image, and the evil of sin is to live our way. He stands eager to forgive in Christ!