Isaiah 30:18 And therefore will the LORD wait, that he may be gracious unto you, and therefore will he be exalted, that he may have mercy upon you: for the Lord is a God of judgment: blessed are all they that wait for him.
The beginning and ending of this chapter are about the judgment of God. Here in the middle of the chapter, God talks about his graciousness for the next few verses. The Lord had told the children of Israel what to do and they would not listen so judgment came.
Yet in the middle of the judgment the Lord is waiting to be gracious to his people. God is judging sin, but if they will just turn to Him and do what He says, God is ready to be gracious and have mercy upon His people.
I am very thankful that we serve a gracious God!