The Parable of the Tree and its Fruits (also called the Trees and their Fruits) is a parable of Jesus about testing a prophet. Similar passages appear in the New Testament in Matthew and Luke.
From Matthew 7:15–20 (KJV):
From Luke 6:43-45 (KJV):
In contrast, the Fruit of the Spirit is holy and will be evident in the life of a true prophet.