Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
Complaints and Petitions.
Here, I. David humbly begs to be heard ( v. 1 ), not as if he questioned it, but he earnestly desired it, and was in care about it, for, having desired it, and was in care about it, for having directed his prayer, he looked up to see how it sped, Hab. ii. 1 . He is a suppliant to his God, and he begs that his requests may be granted: Hear my prayer; give ear to my supplications. He is an appellant against his persecutors, and he begs that his case may be brought to hearing and that God will give judgment upon it, in his faithfulness and righteousness, as the Judge of right and wrong. Or, "Answer my petitions in thy faithfulness, according to the promises thou hast made, which thou wilt be just to." We have no righteousness of our own to plead, and therefore must plead God's righteousness, the word of promise which he has freely given us and caused us to hope in.
II. He humbly begs not to be proceeded against in strict justice, v. 2 . He seems here, if not to correct, yet to explain, his plea ( v. 1 ), Deliver me in thy righteousness; "I mean," says he, "the righteous promises of the gospel, not the righteous threatenings of the law; if I be answered according to the righteousness of this broken covenant of innocency, I am quite undone;" and therefore, 1. His petition is, " Enter not into judgment with thy servant; do not deal with me in strict justice, as I deserve to be dealt with." In this prayer we must own ourselves to be God's servants, bound to obey him, accountable to him, and solicitous to obtain his favour, and we must approve ourselves to him. We must acknowledge that in many instances we have offended him, and have come short of our duty to him, that he might justly enquire into our offences, and proceed against us for them according to law, and that, if he should do so, judgment would certainly go against us; we have nothing to move in arrest or mitigation of it, but execution would be taken out and awarded and then we should be ruined for ever. But we must encourage ourselves with a hope that there is mercy and forgiveness with God, and be earnest with him for the benefit of that mercy. " Enter not into judgment with thy servant, for thou hast already entered into judgment with thy Son, and laid upon him the iniquity of us all. Enter not into judgment with thy servant, for thy servant enters into judgment with himself;" and, if we will judge ourselves, we shall not be judged. 2. His plea is, " In thy sight shall no man living be justified upon those terms, for no man can plead innocency nor any righteousness of his own, either that he has not sinned or that he does not deserve to die for his sins; nor that he has any satisfaction of his own to offer;" nay, if God contend with us, we are not able to answer him for one of a thousand, Job ix. 3 ; xv. 20 . David, before he prays for the removal of his trouble, prays for the pardon of his sin, and depends upon mere mercy for it.