This is supported and led into by the previous passage,
Matthew 7:15-19, in which Jesus warns us to beware of
false prophets, "who come to you in sheep’s clothing but inwardly are ravenous wolves," and says that we will know them
by their fruits. Jesus is talking about people who try to
appear to be preaching God's message and doing God's will, but in fact are living evil lives.