John Gills Exposition of the Bible Commentary - Psalms 26:1
Judge me, O Lord ,.... Meaning not that God would enter into judgment with him, in respect to the justification of his person in his sight, which he knew was not by his own righteousness and integrity, but by the righteousness of God; but his view is, to the justification of his cause before men; and particularly to the difference between Saul and him; and entreats that God would interpose, take his cause in hand, judge between them, and vindicate him; for I have walked in mine integrity ... read more
Matthew Henry's Complete Commentary - Psalms 26:1-5
It is probable that David penned this psalm when he was persecuted by Saul and his party, who, to give some colour to their unjust rage, represented him as a very bad man, and falsely accused him of many high crimes and misdemeanors, dressed him up in the skins of wild beasts that they might bait him. Innocency itself is no fence to the name, though it is to the bosom, against the darts of calumny. Herein he was a type of Christ, who was made a reproach of men, and foretold to his followers... read more