A Commentary, Critical, Practical, and Explanatory on the Old and New Testaments, by Robert Jamieson, A.R. Fausset and David Brown  at sacred-texts.com
psa 26:1After appealing to God's judgment on his avowed integrity and innocence of the charges laid by his enemies, the Psalmist professes delight in God's worship, and prays for exemption from the fate of the wicked, expressing assurance of God's favor. (Psa 26:1-12)
Judge--decide on my case; the appeal of innocence.
in mine integrity--freedom from blemish (compare Psa 25:21). His confidence of perseverance results from trust in God's sustaining grace.
psa 26:2He asks the most careful scrutiny of his affections and thoughts (Psa 7:9), or motives.
psa 26:3As often, the ground of prayer for present help is former favor.
psa 26:4As exemplified by the fruits of divine grace, presented in his life, especially in his avoiding the wicked and his purposes of cleaving to God's worship.
psa 26:6wash mine hands--expressive symbol of freedom from sinful acts (compare Mat 27:24).
psa 26:8the habitation of thy house--where Thy house rests, as the tabernacle was not yet permanently fixed.
honour dwelleth--conveys an allusion to the Holy of Holies.
psa 26:9Gather not, &c.--Bring me not to death.
bloody men--(compare Psa 5:6).
psa 26:10Their whole conduct is that of violence and fraud.
psa 26:11But, &c.--He contrasts his character and destiny with that of the wicked (compare Psa 26:1-2).
psa 26:12even place--free from occasions of stumbling--safety in his course is denoted. Hence he will render to God his praise publicly.