Every tree is known by its own fruit. People do not gather figs from thornbushes, or pick grapes from a bramble.
In context
42How can you say to your brother, ‘Brother, let me take out the speck in your eye,’ when you do not see the plank in your own? You hypocrite! First take the plank out of your own eye, and then you will see clearly enough to take out the speck in your brother’s. 43No good tree produces rotten fruit, and no rotten tree produces good fruit. 44Every tree is known by its own fruit. People do not gather figs from thornbushes, or pick grapes from a bramble. 45A good person brings good out of the good stored up in the heart, and an evil person brings evil out of evil; for the mouth speaks out of what fills the heart. 46Why do you call me ‘Lord, Lord,’ and not do what I say?