שִׂפְתֵ֣י חֲ֭כָמִים יְזָ֣רוּ דָ֑עַת וְלֵ֖ב כְּסִילִ֣ים לֹא־כֵֽן׃
Os lábios dos sábios difundem conhecimento; mas não o faz o coração dos tolos.
Akeidat Yitzchak
Rabbi Yannai in the opening Midrash quoted, simply wanted to tell us that the lesson taught by the spice merchant had already been taught by Solomon in Proverbs.