Short answer: In Matthew 7:15–23 Jesus warns that false prophets come in sheep's clothing but are inwardly ravenous wolves, and that they are recognized by their fruits. The test is not the power of their speech or the works they cite, since some will claim to have prophesied and cast out demons in his name and still hear him say he never knew them. What finally matters is doing the will of the Father, and the one who hears Jesus' words and does them is the one whose house stands.
Where the warning sits in the sermon on the mount
Matthew places this warning near the end of the Sermon on the Mount, after Jesus has set two gates and two ways before the crowd and before he closes with the two builders. The order matters. He has just said that the way to life is restricted and few find it, which raises the question of who is pointing people toward that gate. The warning about false prophets answers that question. Then the sermon ends by asking whether hearers will do what they have heard. The whole stretch runs on the same logic: two roads, two trees, two houses, two outcomes.
The literary shape is easy to follow. Jesus gives a command to beware, then a picture of sheep's clothing over a wolf, then a test: fruit. Verses 16 and 20 frame the middle with the same line about knowing them by their fruits, and the tree imagery in between explains it. After that the tone shifts. Verses 21–23 read like a courtroom scene, with a crowd pleading its religious record and the Lord answering with a verdict. The unit is not a loose collection of sayings. It moves from warning, to test, to final accounting.
The setting keeps the warning from becoming suspicion of outsiders. Jesus is speaking to disciples and listeners who call him Lord and expect to be recognized by him. The people in verses 22–23 are not strangers to religious speech. They prophesy, cast out demons and do mighty works in his name. That is a Jewish covenant world where false prophecy was a known danger, now applied to people using Jesus' own name. So the passage calls for humble self-examination and patient testing of fruit, not for reading hearts or pronouncing condemnation on others.
Sheep's clothing, wolves, and the fruit that tells
Jesus begins with a warning, not a description of something far off: false prophets come to you. The danger is that they arrive looking like the flock, dressed in sheep's clothing, while inwardly they are ravening wolves. That single picture sets the tone for everything that follows. If the threat were obvious, no warning would be needed. Jesus is telling his hearers that the false teacher will not announce himself. He will sound familiar, use familiar words, and belong to the expected scenery. So the disciples are not told to hunt for villains under every rock. They are told to stay awake, because disguise is the whole strategy.
The key word is fruit. Jesus asks whether anyone gathers grapes from thorns or figs from thistles, then draws the plain lesson: a good tree produces good fruit, and a corrupt tree produces evil fruit. Fruit is not a hidden inner state we must guess at; it is what a life and message actually produce over time. Notice also the settled pattern. Jesus speaks of trees, not isolated incidents, so the test is a direction of travel rather than one bad moment. A good tree can't produce evil fruit, and a corrupt tree can't produce good fruit. Patient observation, not a single snapshot, is what Jesus commends.
Then the warning turns personal. Some will call him Lord and point to prophecy, exorcism and mighty works done in his name, and he will answer, “I never knew you. Depart from me, you who work iniquity.” (Matthew 7:23, WEB) That sentence is relational, not informational. It is not that Jesus failed to hear of them; it is that there was no knowing between them. And he speaks it himself, as the judge. This is why the passage calls for humble self-examination rather than reading other people's hearts. We test fruit patiently, starting with our own, and we leave final judgment where Jesus keeps it.
Fruit, not clothing: the test Jesus gives
Matthew 7:15–23 sits between two pictures of two destinations: the narrow and wide gates in 7:13–14 and the two builders in 7:24–27. Jesus has just said the way to life is restricted and few find it, so the natural next question is who is leading people where. The warning about false prophets answers that. They come in sheep's clothing, looking like the flock, but inwardly they are ravenous. In a Jewish covenant setting where prophets spoke in God's name and false prophecy was a familiar danger, Jesus applies that danger to people who use his own name. The threat is not outside the circle of religious speech but inside it.
Jesus gives a test that is moral and lasting: by their fruits you will know them. Grapes do not come from thorns, and a good tree cannot produce evil fruit any more than a corrupt tree can produce good. Notice what he does not say. He does not tell us to inspect motives or read hearts. He points to what a life and a teaching actually produce over time. Then the passage presses further. Some will stand before him citing prophecy, exorcism and mighty works done in his name, and he will answer that he never knew them. Impressive activity is not the same as doing the Father's will.
This is why the warning belongs with the two builders. The one who hears these words and does them builds on rock, and the storm does not bring the house down. So the passage calls for humble self-examination first: am I hearing and doing, or only saying Lord, Lord? It also calls for patient testing of fruit in those who teach us, not suspicion or condemning. We cannot see inward motives, and Jesus does not ask us to. We watch for fruit, we examine ourselves, and we keep our footing on the rock of his words obeyed.
Where readers differ on the fruit test
Careful readers differ over how far the fruit test reaches. Some take the fruit mainly as doctrine: a prophet is false if his teaching departs from the truth, and the test is whether the message accords with what God has revealed. Others hear Jesus speaking mainly of character and conduct, the life a teacher actually produces. Most would hold both together, since 7:16–20 speaks of trees and fruit without dividing message from manner. Notice also that Jesus does not hand out a checklist here. He gives a wisdom test that takes time and patience, and he keeps the final verdict for himself. That should make us slow to pronounce and quick to examine our own lives first.
A second disagreement concerns the mighty works of 7:22. Some readers think the prophesying, exorcism and powers were genuinely done in Jesus' name, which makes the warning sharper: real gifting is not the same as being known by him. Others think the speakers only claim these deeds, and the text does not settle the question either way. What the passage does settle is the verdict: Jesus says he never knew them, and he names them as workers of iniquity. Another debate asks how directly this applies to evaluating teachers today rather than prophets in Israel. The principle of testing fruit carries over, but it must not become a license for suspicion or for reading motives, which only Jesus can see.
A third question is who exactly is being warned in 7:21–23. Some read it as a warning to nominal professors, people who use the right words but never do the Father's will. Others hear it as a warning to genuine believers about barrenness and fruitlessness. The text does not resolve every case, and it is unwise to force it. What stays central is plain: Jesus is the one who knows and judges, fruit is the test he gives, and doing the will of the Father marks those who enter the kingdom. So read this passage on your knees, testing your own life patiently and leaving the hearts of others to the Lord who alone knows them.
The Lord who knows his own
Notice who is speaking in Matthew 7:21–23. The people in that scene are not outsiders mocking Jesus. They address him as Lord and list real activity done in his name: prophecy, exorcism, mighty works. The verdict is not handed down by a committee or by the crowd but by Jesus himself. He says he never knew them. That puts the final assessment of a person's life in his hands alone, not in ours. The passage is sobering precisely because the One who judges is the same Lord who invites us through the narrow gate a few verses earlier.
That should shape how we use this text. Jesus tells us to know people by their fruits, not to read their hearts. A tree is recognized over time, by what it actually produces, and the test is patient and public rather than suspicious and private. When we start guessing motives or pronouncing on someone's eternal state, we have stepped into the seat Christ occupies. Humble self-examination comes first: what fruit is growing in my own life? Then patient testing of teaching and conduct, watching for consistency over months rather than judging from a single impression or a bad week.
The closing image in 7:24–25 is a house on rock that stands when rain, floods and wind beat against it. Jesus says the wise builder is the one who hears these words and does them. That is not a second gospel of self-made obedience. It is the fruit of grace, the life that takes his teaching seriously because it is built on him. The warning about false prophets and empty profession drives us not to sharper suspicion of others but to deeper trust in the Lord who knows his own, and to the quiet, daily obedience that flows from being known by him.
What faithful response looks like when the sermon ends
Jesus closes the Sermon on the Mount with a test and a warning, and the test is patient rather than instant. Fruit shows up over a season, not in a first impression. A teacher may be magnetic, and a ministry may look impressive, yet the settled pattern of a life and the shape of the doctrine being taught are what Jesus tells us to weigh. Verse 16 gives the principle: by their fruits you will know them. That calls for unhurried attention, watching how a person handles Scripture, money, power and correction long after the crowd has gone home. It also forbids the shortcut of reading motives, which the text never asks us to do.
The same measure turns inward. Jesus does not stop at false prophets; he speaks of people who call him Lord and point to prophecy, exorcism and mighty works, yet he says he never knew them (7:21–23). Religious activity is not the same as doing the Father's will. So the honest question is not only whether a teacher's fruit is good but whether our own life is being built on hearing and doing these words. That is a call to humble self-examination, not a license to condemn others or to assume the worst about people whose motives we cannot see.
The faithful response is ordinary and unhurried. Weigh teaching against Scripture rather than against charisma or results. Be slow to pronounce judgment on hearts and quick to examine fruit, including our own, over months rather than moments. Build on the rock of hearing and doing these words, not on impressive experiences or the size of a ministry. All of this rests on grace, and it comes with no promise of safety, success or ease in this life; the house stood because it was founded on the rock, not because the storm stayed away.
Biblical fidelity check
Read carefully, this passage carries specific risks. The prophets arrive in sheep's clothing, so the danger is disguise rather than obvious error, and Jesus gives fruit as the test: a settled pattern of life and message, not a single bad moment. The word fruit is the key, and it points to what a life and teaching actually produce. Careful readers differ over whether fruit means mainly doctrine or mainly conduct, though most hold both together. Readers also differ over whether the mighty works of verse 22 were genuinely done or only claimed, and the text does not settle it.
The real limit is that a wisdom test can harden into suspicion. Some apply this mainly to evaluating teachers today, others stress its first setting among prophets in Israel, and readers should not use it to judge motives, which Jesus reserves to himself. Some hear a warning to nominal professors, others to genuine believers about fruitfulness, and the text does not resolve every case. What stays central is that Jesus knows and judges, that fruit is the test he gives, and that doing the Father's will marks those who enter the kingdom.
Other passages that speak to Matthew 7:15-23
These themes run through the whole Sermon on the Mount and beyond it. For further study, see Matthew 2:23 Explained: Why Jesus Was Called a Nazarene on the narrow gate that opens this passage, Matthew 27:9-10: Why Matthew Says Jeremiah Not Zechariah on the Sermon on the Mount's setting, Matthew 7:21-23: Not Everyone Who Says Lord, Lord on Jesus' teaching about knowing him, and Matthew 1:1-17: Why Jesus' Genealogy Matters on testing teaching in the wider New Testament.
Frequently asked questions
What does Jesus mean by fruit in Matthew 7:16?
Fruit in this passage means the observable produce of a person's life and teaching, the moral and doctrinal outcome that eventually becomes visible. Jesus points to the ordinary logic of a vineyard: grapes do not come from thorns, and figs do not come from thistles. A good tree produces good fruit and a corrupt tree produces evil fruit, so the fruit is evidence of what the tree already is. Notice that fruit is not the same as polish, popularity, or the ability to quote Scripture, since Jesus has just warned about wolves dressed as sheep.
Can someone who prophesies and casts out demons in Jesus' name still be lost?
Yes, Jesus says exactly that in Matthew 7:22–23, where many will cite prophesying, casting out demons, and mighty works done in his name, and he will answer that he never knew them. The startling part is that the works are not denied; the issue is relationship and obedience, not raw power. These people addressed him as Lord, yet he calls them workers of iniquity, which means their lives were not doing the Father's will. So spectacular ministry is not the proof of belonging to Christ, and it cannot substitute for a life that does what he says.
How do I apply the test of fruit without becoming suspicious of everyone?
Apply the test first to yourself and then patiently over time to teachers, rather than using it as a license to read hearts. Jesus says we will know them by their fruits, which is a slow, observable judgment about patterns of life and teaching, not a verdict on hidden motives. Ask whether a teacher's doctrine and conduct consistently lead toward Christ and the Father's will, and give people the time fruit needs to appear. Where you must be cautious, be humble and fair, refusing both naivety and a suspicious spirit that condemns people Jesus has not condemned.