New Testament

Matthew 7:1-6

1 “Do not judge so that you will not be judged. 2 For by the standard you judge you will be judged, and the measure you use will be the measure you receive. 3 Why do you see the speck in your brother’s eye, but fail to see the beam of wood in your own? 4 Or how can you say to your brother, ‘Let me remove the speck from your eye,’ while there is a beam in your own? 5 You hypocrite! First remove the beam from your own eye, and then you can see clearly to remove the speck from your brother’s eye. 6 Do not give what is holy to dogs or throw your pearls before pigs; otherwise they will trample them under their feet and turn around and tear you to pieces.

Rabbinic

Arakhin 16b

It is taught in a baraita that Rabbi Tarfon says: I would be surprised if there is anyone in this generation who can receive rebuke. Why? Because if the one rebuking says to him: Remove the splinter from between your eyes, i.e., rid yourself of a minor infraction, the other says to him: Remove the beam from between your eyes, i.e., you have committed far more severe sins. Rabbi Elazar ben Azaria says: I would be surprised if there is anyone in this generation who knows how to rebuke correctly, without embarrassing the person he is rebuking.