According to the spiritual understanding, we can understand the vineyard and Jerusalem as the multitude of believers, which, if it has been negligent and has lost the cultivation of its former religion, and has not borne the fruits of the virtues nor made wine that gladdens the heart of man, will be given up to everlasting flames and reckoned as nothing: for the servant who knows the will of his master, and does not do it, will be beaten with many blows. The Lord too says something of the kind in the Gospel according to John: I am the true vine, and my Father is the husbandman. Every branch th...at abides in me and does not bear fruit, the Father will take it away; and every one that bears fruit he will cleanse, that it may bear more fruit; but if the Savior is the vine and we the branches and God the Father the husbandman, as long as we keep God's commandments we are continually cultivated, and our cultivation is a cleansing: for it is not of him who wills, nor of him who runs, but of God who shows mercy; and if, bearing fruit, we are cleansed by the Father so that we may bear more abundant fruit, it is shown that all our effort, by God's help, reaches its end and yields the fruit of fullness; but the branch that has not borne fruit will be taken away by the Father, and once it has been taken away, what the Father does with it Scripture does not say, unless perhaps separation from the body of Christ is everlasting punishment and destruction. What we have understood of the vineyard and the vine, the Savior teaches under another figure in the Gospel: Salt is good; but if the salt has lost its savor, it is useful for nothing except to be thrown out and trodden underfoot by men; and the eye, which gives light to the whole body, if it has been blinded, hears from the Lord: If the light that is in you is darkness, how great will the darkness itself be? For in comparison with the transgressor, and with him who has denied the God he first confessed, lighter is the punishment of those who never had knowledge of God. The trees of the woodlands or forests, however, according to the variety of believers, have some usefulness in a great house, in which there are not only vessels of gold and silver but also of wood and earthenware, some for honor, and some for dishonor.
Source: Commentary on Ezekiel