New Testament

Matthew 7:1-6

1Do 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

Shabbat 127b

The Sages taught in a baraita: One who judges another favorably is himself judged favorably. And there was an incident involving a certain person who descended from the Upper Galilee and was hired to work for a certain homeowner in the South for three years. On the eve of the Day of Atonement, he said to the homeowner: Give me my wages, and I will go and feed my wife and children. The homeowner said to him: I have no money. He said to him: In that case, give me my wages in the form of produce. He said to him: I have none. The worker said to him: Give me my wages in the form of land. The homeowner said to him: I have none. The worker said to him: Give me my wages in the form of animals. He said to him: I have none. The worker said to him: Give me cushions and blankets. He said to him: I have none. The worker slung his tools over his shoulder behind him and went to his home in anguish.