There is something similar to this in Mark, chapter 7:18-19. Jesus seemed a little upset that they still did not understand what he was telling them about defilement (ὁ δὲ εἶπεν Ἀκμὴν καὶ ὑμεῖς ἀσύνετοί ἐστε). He pointed out that they had to understand (ὐ νοεῖτε) that everything entering into the mouth (ὅτι πᾶν τὸ εἰσπορευόμενον εἰς τὸ στόμα) went into the stomach (εἰς τὴν κοιλίαν χωρεῖ). From the stomach, it came out in a bowel movement that ended up in a sewer, latrine, or dung heap (καὶ εἰς ἀφεδρῶνα ἐκβάλλεται). There was a famous saying that it is harder to sell corn after it has been eaten by a pig than before it was eaten. Whatever went into your mouth would end up as defecation.
Sirach points out that just as your taste buds can tell the difference between various kinds of food, so too the mind should be able to discern the difference between true and false words. Both the stomach and the mind can absorb all kinds of foods and words. However, just as one food is better for you than another, so too the perverse mind can cause grief. The experienced person will be able to verbally payback the false words and the perverse minds.