Otherwise; He now teaches the benefit of almsgiving. He who places his treasure on earth has nothing to look for in Heaven; for why should he look up to Heaven where he has nothing laid up for himself? Thus he doubly sins; first, because he gathers together things evil; secondly, because he has his heart in earth; and so on the contrary he does right in a twofold manner who lays up his treasure in Heaven.
It seems that He is not here speaking of the bodily eye, or of the outward body that is seen, or He would have said, If thine eye be sound, or weak; but He says, single, and, evil. But if on...e have a benign yet diseased eye, is his body therefore in light? Or if an evil yet a sound, is his body therefore in darkness?
Source: Catena Aurea by Aquinas