Likewise, the aforesaid sins are thought in the heart; hence he says, "I have hated the assembly of evildoers," that is, the congregation of the malicious: Ps. 118: "I have hated the wicked," that is, their fault and iniquity. Third, he sets forth sin against God, which is impiety; and therefore he says, "And with the wicked," that is, heretics and schismatics, "I will not sit," that is, I will not share in their doctrines: Heb. 13: "Do not be led away by various and strange doctrines."
Source: Exposition on the Psalms of David