1To YOU, Lord, I call;
YOU Are my Rock,
Do not turn a deaf ear to me.
For If YOU Remain silent,
I will be like those who go down to the pit.
2Hear my cry for mercy
as I call to YOU for help,
as I lift up my hands
toward YOUR Most Holy Place.
3Do not drag me away with the wicked,
with those who do evil,
who speak cordially with their neighbors
but harbor malice in their hearts.
4Repay them for their deeds
and for their evil work;
Repay them for what their hands have done
and Bring back on them what they deserve.
5Because they have no regard for the Deeds of The Lord
and What His Hands Have Done,
HE Will Tear them down
and never build them up again.
6Praise Be to The Lord,
for HE Has Heard my cry for mercy.
7The Lord Is my Strength and my Shield;
my heart trusts in Him, and HE Helps me.
My heart leaps for joy,
and with my song I praise Him.
8The Lord Is the Strength of His people,
a Fortress of Salvation for His anointed one.
9Save Your people and Bless YOUR Inheritance;
Be their Shepherd and Carry them forever.
The former part of this Psalm is the prayer of a saint militant and now in distress (v. 1-3), to which is added the doom of GOD's enemies (v. 4, 5). The latter part of the Psalm is the thanksgiving of a saint triumphant, and delivered out of his distresses (v. 6-8), to which is added a prophetical prayer for all GOD's faithful loyal subjects (v. 9).
So that it is hard to say which of these two conditions David was in when he penned it.
Some think he was now in trouble seeking GOD, but at the same time preparing to praise Him for His Deliverance, and by faith giving Him thanks for it beforehand.
Others think he was now in triumph, but remembered, and recorded for his own and others' benefit, the prayers he made when he was in affliction, that the GOD’s Mercy Might Relish the better, when it appeared to be an answer to them.
Whichever the case may be, this Psalm is the prayer of David for JEHOVAH’s Deliverance from the evildoers and the praise for His Salvation in response to the prayer. We can pray the same as JEHOVAH’s children in CHRIST JESUS, our LORD and SAVIOR.