Chukat: Chapter 8
"Wisdom is good with an inheritance"

Rabbi Shimon tells us that the title verse means that it is good when Wisdom, Chochmah, dwells with the children of Yisrael so they will be attached to her. We hear that "the excellency of knowledge" is the Tree of Life, the secret of Da'at and Zeir Anpin. In another explanation, Rabbi Shimon says that it is the Righteous of the world that is the brightness of the sun, and he goes on to talk about those who become attached to the Tree of Life.