The worshiper asks the LORD to vindicate him, not because he is self-sufficient, but because he has trusted the LORD and walked with covenant integrity.
Psalms 26:1–5
1 Judge me, Yahweh, for I have walked in my integrity. I have trusted also in Yahweh without wavering.
The psalmist does not merely ask God to clear his name publicly; he asks God to test his heart and inner being.
2 Examine me, Yahweh, and prove me. Try my heart and my mind.
The source of the worshiper's integrity is his vision of the LORD's covenant love and his walk in God's faithfulness.
3 For your loving kindness is before my eyes. I have walked in your truth.
The worshiper refuses the company of falsehood, hypocrisy, evildoers, and the wicked.
4 I have not sat with deceitful men, neither will I go in with hypocrites.
5 I hate the assembly of evildoers, and will not sit with the wicked.
Clean-handed worship at the altar leads to thanksgiving and proclamation of the LORD's wonderful deeds.
Psalms 26:6–12
6 I will wash my hands in innocence, so I will go about your altar, Yahweh,
7 that I may make the voice of thanksgiving to be heard and tell of all your wondrous deeds.
The psalmist's moral separation is driven by positive affection for the LORD's house and glory.
8 Yahweh, I love the habitation of your house, the place where your glory dwells.
The worshiper asks not to be gathered with sinners, violent people, schemers, and those corrupted by bribes.
9 Don’t gather my soul with sinners, nor my life with bloodthirsty men;
10 in whose hands is wickedness, their right hand is full of bribes.
The psalm concludes with integrity, redemption, grace, level ground, and congregational praise.
11 But as for me, I will walk in my integrity. Redeem me, and be merciful to me.
12 My foot stands in an even place. In the congregations I will bless Yahweh.