What’s the Bible verse in John that talks about people will see you by the fruit you bear?

I’m doing a bible lesson on the fruit of the spirit. But I can’t seem to memorize the bible verse in john that talks about people will know you by the fruit you bear(or something like that). Could anyone help me?

Matthew 5:16 " Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven."