If any man therefore shall cleanse himself from these, because their company brings defilement: he that touches pitch, shall be defiled with it (Sir 13:1). Consequently, they must be avoided: go out from among them, and be ye separate, says the Lord, and touch not the unclean thing (2 Cor 6:17).
But the fruit they produce is of four kinds: the first is ordination to glory, because he shall be a vessel unto honor: for if he is defiled by them, it will be unto dishonor; if he cleanses himself, it will be unto honor: but to me your friends, O God, are made exceedingly honorable (Ps 138:17); take... away the rust from the silver and there shall come forth a most pure vessel (Prov 25:4).
The others are the effects of grace: the first of these is man's sanctification; the second is man's ordination by a right intention; the third by the performance of works. In regard to the first, therefore, he says, sanctified: but you are washed, but you are sanctified (1 Cor 6:11). In regard to the second he says, profitable to the Lord. But does he need our service? Not at all: you have no need of my goods (Ps 13:2). But he says, profitable to the Lord, i.e., his profit redounds to the Lord's glory: to carry my name before the gentiles, and kings, and the children of Israel (Acts 9:15). In regard to the third he says, prepared unto every good work: I am prepared and am not troubled (Ps 118:60).
And he says, unto every good work, because affirmative commands do not oblige us to observe them every second. Consequently, one must be prepared to fulfill them, when the time comes.
Source: Commentary on 2 Timothy