This is the epilogue. What we have seen in the first seven verses is his stress, his remorse, his sorrow, his pleading; all these bad feelings that he has had and his desire for God to forgive him. Well, somewhere between verses 7 and 8, God does forgive him. He feels it. He knows it. And it changes things immediately.
And you know what comes forth for David in this one? Zeal. Interesting. He wants to do something right, so God has given him forgiveness and he says, "I'm going to do what I need to do to make sure that this never happens again." So what did he do? "Depart from me, all you workers of iniquity." The first thing he did as part of his repentance was to stop meeting with, stop conversing with, stop having fun with all those people who were leading him into sin. He got rid of the temptation. He got rid of the situations and the people who were dragging him down into sin all the time.
This ends then with this, "Let all my enemies be ashamed and greatly troubled; let them turn back and be ashamed suddenly." You know what this reflects? It reflects his confidence that God was on his side again. God was back, and his enemies are going to tremble because God will destroy them. That is how confident he felt now that he had been forgiven, and he just felt great; he felt strong; he felt clean; and he wanted to be the great warrior of God again. So he said, "Watch out, enemies. I'm back. God's back." And that makes all the difference.