Ps 35:1 Plead my cause, O Lord, with those who strive with me; fight against those who fight against me.
:2 Take hold of shield and buckler, and stand up for my help.
:3 Also draw out the spear, and stop those who pursue me. Say to my soul, “I am your salvation.”
:4 Let those be put to shame and brought to dishonor who seek after my life; let those be turned back and brought to confusion who plot my hurt.
:5 Let them be like chaff before the wind, and let the angel of the Lord chase them.
:6 Let their way be dark and slippery, and let the angel of the Lord pursue them.
:7 For without cause they have hidden their net for me in a pit, which they have dug without cause for my life.
:8 Let destruction come upon him unexpectedly, and let his net that he has hidden catch himself; into that very destruction let him fall.
:9 And my soul shall be joyful in the Lord; it shall rejoice in His salvation.
:10 All my bones shall say, “Lord, who is like You, delivering the poor from him who is too strong for him, yes, the poor and the needy from him who plunders him?”
:11 Fierce witnesses rise up; they ask me things that I do not know.
:12 They reward me evil for good, to the sorrow of my soul.
:13 But as for me, when they were sick, my clothing was sackcloth; I humbled myself with fasting; and my prayer would return to my own heart.
:14 I paced about as though he were my friend or brother; I bowed down heavily, as one who mourns for his mother.
:15 But in my adversity they rejoiced and gathered together; attackers gathered against me, and I did not know it; they tore at me and did not cease;
:16 with ungodly mockers at feasts they gnashed at me with their teeth.
:17 Lord, how long will You look on? Rescue me from their destructions, my precious life from the loins.
:18 I will give You thanks in the great assembly; I will praise You among many people.
:19 Let them not rejoice over me who are wrongfully my enemies; nor let them wink with the eye who hate me without a cause.
:20 For they do not speak peace, but they devise deceitful matters against the quiet ones in the land.
:21 They also opened their mouth wide against me, and said, “Aha, aha! Our eyes have seen it.”
:22 This You have seen, O Lord; do not keep silence. O Lord, do not be far from me.
:23 Stir up Yourself, and awake to my vindication, to my cause, my God and my Lord.
:24 Vindicate me, O Lord my God, according to Your righteousness; and let them not rejoice over me.
:25 Let them not say in their hearts, “Ah, so we would have it!” Let them not say, “ We have swallowed him up.”
:26 Let them be ashamed and brought to mutual confusion who rejoice at my hurt; let them be clothed with shame and dishonor who exalt themselves against me.
:27 Let them shout for joy and be glad, who favor my righteous cause; and let them say continually, “Let the Lord be magnified, who has pleasure in the prosperity of His servant.”
:28 And my tongue shall speak of Your righteousness and of Your praise all the day long.
This is headed up as The Lord the Avenger of His people.
David was handling his anger toward his enemies in the right way. He was not taking matters into his own hands but was committing the whole thing to God in prayer. He had a right to be angry with those who were doing what was wrong. Amos 5:15 and Roman 12:9 say hate what is evil.
This one helps me to remember that my enemies are in God's hands. Those enemies may be flesh and blood people who atack me, or they may be spiritual enemies, powers of darkness, who seek to lead my away from a walk of obedience and love for Christ. Wherever the opposition comes from, I can ask God to protect me. We aren't alone in the battle. Jesus is with us.
Ps 103:17 But the mercy of the Lord is from everlasting to everlasting on those who fear Him, and His righteousness to children's children.
How often does the Lord tell us in the His word trust and we hear try, rest and we hear strive, He says I love you just the way you are and we hear I love you bu I'd love you a bit more if you'd change a few of your bad habits.