In the book of Joel in the bible, you find God in a humble state. Mankind was at their worst. As a result they ended up in a less then favorable position. It seemed the earth was crumbling before them. There were a lot of natural disasters. A very few survived these turbulent times. Imagine God in Zion, sitting shaking his head. "All I asked of you was to give me thanks, worship me," No idols, no sin, follow the rules of the written word at that time. But no, as with many a story in the Bible. God just couldn't take the disobedience anymore. After hell on earth though, God felt so bad. Really really bad. Like any father who had to punish his child or children. God did restore the earth and provide the needs of the survivors still putting faith in them to simply just follow the rules. Flash forward to today. Look at the worlds populations. Look at the natural disasters. See the war. Observe the blatant sinful ways of some. I imagine God sitting up there shaking his head. The difference is that to those of us who have accepted Jesus as our savior, we will be at peace with God and in his good grace if something were to happen as a result of mankind destroying themselves with sin, we would be in Gods good graces.
Joel 2:13 So rend your heart and not your garments. Return to the Lord your God. For he is gracious and merciful. Slow to anger and of great kindness. And he relents from doing harm.