Psalms of Solomon 4:3
1 Why are you sitting in the Holy Sanhedrin, you foul person? When your heart is far from the Lord, provoking the God of Israel with your rotten behavior? 2 Verbose and flamboyant more than anyone, harshly condemning defendants in court. 3 His hand is among the first to be lifted against the defendant, as if he were motivated by a virtuous zeal, but he himself is guilty of a whole hoard of sins with no self-control. 4 His eyes are on every woman promiscuously, he lies when making contracts under oath.
John 8:7
4 and said to Jesus, “Teacher, this woman was caught in the very act of adultery. 5 In the law Moses commanded us to stone to death such women. What then do you say?” 6 (Now they were asking this in an attempt to trap him, so that they could bring charges against him.) Jesus bent down and wrote on the ground with his finger. 7 When they persisted in asking him, he stood up straight and replied, “Whoever among you is guiltless may be the first to throw a stone at her.” 8 Then he bent over again and wrote on the ground. 9 Now when they heard this, they began to drift away one at a time, starting with the older ones, until Jesus was left alone with the woman standing before him.
Notes and References
"... Jesus was neither the first nor the only Judean to excoriate fellow Judeans for hypocrisy. The author of Psalms of Solomon 4 called hypocrites who sat “in the council of the pious” to account decades before, especially for their zeal to expose and punish another’s sins while remaining complacent about their own sins ... Integrity requires turning one’s critical gaze inward, naming and turning from one’s own transgressions of Torah before dealing with another’s transgressions. The author of Psalms of Solomon would therefore approve of several traditions ascribed to Jesus. In the famous story of the woman caught in flagrante dilecto, he would stand alongside Jesus as the latter invited those without sin to be the first to lay a hand against the woman, cooling their zeal to enact “justice” by reminding them of how they have winked at their own sins ..."
DeSilva, David A. The Jewish Teachers of Jesus, James, and Jude: What Earliest Christianity Learned from the Apocrypha and Pseudepigrapha (p. 153) Oxford University Press, 2012