David refused to avenge himself on Saul in 1 Samuel 24:12.
May the LORD judge between you and me,
William MacDonald writes in the Believers Bible Commentary:
In David's words to Saul, he twice called on the LORD to act as Judge. He was content to leave his case in the hands of God rather than do what might seem right to the natural man. One of the things Peter remembered about our Lord was that "when He was reviled, [He] did not revile in return; when He suffered, He did not threaten, but committed Himself to Him who judges righteously" (1Peter 2:23).
I also think of this picture of the Lord Jesus in Isaiah 50:6-8.
I gave My back to those who strike Me,
Will you let the Lord take your case? David did.
Jesus Christ did. He who vindicates you is still near today. He is as near as ever!
For me to live is Christ.