Fourth, as regards the exhortation, by which the perfect path of poverty is urged, it is added: Having heard this, Jesus said to him: Yet one thing is lacking to you; The Gloss: "For perfection." Now that is perfect which lacks nothing: James 1: "That you may be perfect and entire, lacking in nothing." And this is done by perfectly fulfilling the divine will, not only by doing what is commanded and avoiding what is forbidden, but also by fulfilling the counsels, according to that in Romans 12: "That you may prove what is the good and well-pleasing and perfect will of God"; and above in chapter... 6: "But everyone will be perfect if he is like his master," that is, Christ, who had absolutely nothing.
On account of which He adds: All things whatsoever you have, sell and give to the poor: The Gloss: "Not a part," as Ananias did, of whom it is said in Acts 5 that he "defrauded from the price of the field"; and this because "the kingdom of heaven, as Gregory says, is worth as much as you have." "The kingdom of heaven is like a treasure hidden in a field," etc. And lest this seem burdensome, He adds: And you shall have treasure in heaven: Job 22: "He shall give flint for earth and golden torrents for flint"; and these are in eternal glory, where there are incorruptible treasures; Matthew 6: "Lay up for yourselves treasures in heaven, where neither rust nor moth destroys, nor thieves dig through nor steal."
And "because, as the Gloss says, it does not suffice to leave one's possessions unless one follows the Lord by imitating Him"; therefore He adds: And come, follow me, through the utmost harshness of life: according to that in 1 Peter 2: "Christ suffered for us, leaving you an example," etc. Through the utmost destitution of possessions. For to the disciple wishing to follow Him out of cupidity and saying: "Master, I will follow you wherever you go," He responds: "Foxes have dens, and the birds of the sky have nests; but the Son of Man has nowhere to lay His head," Matthew 8. Through the utmost humility of heart; Sirach 23: "It is a great glory to follow the Lord"; and John 8: "He who follows me does not walk in darkness." And concerning these things, above in chapter nine: "If anyone wishes to come after me, let him deny himself and take up his cross and follow me." To follow therefore Christ is to configure oneself perfectly to him, according to that passage in Job 23: "My foot has followed his steps; I have kept his way and have not turned aside from it," etc.
Source: Commentary on Luke, Chapter 18