David is writing out of a state of hurt confusion. Usually his attacks came from enemies of other countries. Here, it seems the attack is coming from within - from people that he has shared life with - people that, when life was difficult for them, David went passionately to God on behalf of.
It has been my experience that an attack from a friend does more damage than an assault from an enemy. I believe the reason is that, in the former, the heart takes the most punishment.
I find great strength from David's self talk with God. He asks his Creator to affirm that He is his salvation. David decides that He will allow God to be his protector and vindicator. Then, finally, the most important moment of clarity in the chapter appears in the last verse. David chooses what kind of words will come out of his mouth. The choices are praise or slander. He chooses praise. And so should we.
Heart and Soul,
BAG
<><