God is speaking to his chosen people. They have turned their backs to their God and are practicing all kinds of sin. In Isaiah 1:4 the LORD calls them a “sinful nation, a people loaded with guilt, a brood of evildoers”, and “children given to corruption”. He goes on to say, “They have forsaken the LORD; they have spurned the Holy One of Israel and turned their backs on him”. You almost expect God to say, “It is over, I am through with you. I no longer consider you my chosen people. My judgment is coming soon.” But no! The LORD makes the amazing statement in verse 18 that he will change their sin into something beautiful.
Like the children of Israel, all human beings are rebellious by nature. We do not want anyone or any god telling us what to do, unless it aligns with what we want. The righteousness that God requires can never be attained by human effort. It is only by his miracle of grace that our sin guilt can be changed to purity.