Second, there is added the application of the similitude, when it says: The lamp of your body is your eye. For of the material body, the bodily eye is the lamp, because it rules, directs, and illuminates the whole body; but of the spiritual body, that is, of the aggregate of good works, the lamp is the spiritual eye, that is, the intention. For the intention is called both an eye and a lamp: an eye, insofar as it is illuminated by God for the direction of the whole person; but a lamp, insofar as it directs every action, thought, and affection — as though it "directs" the steps of a person "int...o the way of peace," according to that passage above in the first chapter: "To give light to those who sit in darkness and in the shadow of death," etc. — For it belongs to a lamp to illuminate, and therefore the word of God is called a lamp, according to that passage of the Psalm: "Your word is a lamp to my feet and a light to my paths," as regards things to be believed: Second Peter 1: "We have the more firm prophetic word, to which you do well to attend as to a lamp shining in a dark place"; and as regards things to be done through commandments: Proverbs 6: "The commandment is a lamp, and the law is light." Lamp is said of the preacher: John 5: "He was a burning and shining lamp"; and Philippians 2: "Among whom you shine as luminaries in the world." It is said of the gift of the Holy Spirit: Exodus 25: "You shall make also seven lamps and place them upon the lampstand," that is, the seven gifts of the Holy Spirit upon Christ. It is also said of a work: below in the twelfth chapter: "Let your loins be girded and lamps burning in your hands." It is also said of the intention, which, if it is feigned, is extinguished, according to that passage of Job 18: "The light shall be darkened in his tabernacle, and the lamp that is over him shall be extinguished"; but if it is right, it illuminates the whole body of good works. — Hence lamp first properly belongs to the word of God and the gift of the Holy Spirit, and through this it properly belongs to the intention of the heart, and from there it descends into the work of true preaching and into the work of holy conduct; hence it is said of these according to a certain kind of analogy. Therefore the lamp of right intention is, as it were, a mean, receiving from what is above and overflowing into the whole aggregate of works.
For which reason he adds: If your eye be simple, that is, your intention right, your whole body will be full of light. For as Ambrose says: "Intention gives its name to your work"; from which it is clear that he understands this of the eye of the heart, whose best disposition is simplicity, according to that passage of 1 Chronicles, last chapter: "I know, O Lord, that you test hearts and love simplicity." Now the eye is called simple which aims at the one and highest good, which is indivisible; and such alone is upright, which tends toward that good. Hence it is said of Job, in chapter one, that "that man was simple and upright"; and such a one loves God, according to that passage of Song of Songs, chapter one: "The upright love you"; and Song of Songs, chapter four: "You have wounded my heart, my sister, my spouse, with one of your eyes and with one hair of your neck," that is, in the unity and simplicity of right intention, which alone is pleasing to God. And because such persons, whatever they do, do it from charity, therefore the whole is right and good and luminous, according to that passage of Ephesians, chapter five: "Walk as children of light. For the fruit of light is in all goodness and justice and truth"; and since from a heart thus illuminated nothing proceeds except works of light, just as "a good tree cannot bear bad fruit," nor a luminous one dark fruit, nor conversely a bad tree good fruit.
And therefore it is added: But if it be evil, your whole body also will be dark. For the evil eye depraves the will and makes it wicked; and when that is depraved, the work also is depraved. Hence Sirach, chapter fourteen: "Evil is the eye of the envious, turning away his face," namely from God, "and despising his own soul"; and a little later: "The evil eye is toward evil things"; hence when intention is depraved, it strays from the way of light and walks through darkness, according to that passage of Sirach, chapter eleven: "Error and darkness were created together with sinners." But when intention is darkened and deformed, the work also is darkened and deformed. Hence in the Gloss: "If a perverse intention preceded, a wicked work follows, even if it seems just." And therefore the body is called dark, which indeed is called the work of sin, concerning which it is found in Romans, chapter thirteen: "Let us cast off the works of darkness." — In this, therefore, the similitude of the lamp is applied, so that, just as a lamp upon the lampstand is luminous, but under a bushel is dark — and therefore no one lighting it "places it under a bushel, but upon the lampstand" — so a simple intention directed upward is luminous, but directed downward it is bent, evil, and dark. Therefore no one ought to proceed in his works with duplicity and the pretense of hypocrisy, but rather with the light and simplicity of intention. For Proverbs, chapter eleven: "The justice of the simple shall direct his way, and the impious shall fall in his own impiety."
Source: Commentary on Luke, Chapter 11