John Gills Exposition of the Bible Commentary - Psalms 26:5
I have hated the congregation of evildoers ,.... That do harm to the persons, characters, or properties of men; and who meet together in bodies, to consult and form schemes to do mischief, and have their assemblies to encourage each other in it; these, their works and actions, the psalmist hated, though not their persons; and showed his displicency at them, and dislike and disapprobation of them, by absenting from them; see Jeremiah 15:17 ; and will not sit with the wicked ; ungodly... 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