"The sons of Judah" wished "to drive out" or "to destroy" "the Jebusites from Jerusalem, and they could not"; on account of which "the Jebusites dwelt with the sons of Judah in Jerusalem down to the present day." Beginning from the letter, we wish to inquire of those who suppose that these things can stand according to the letter, what is meant when it says "down to the present day" — a phrase that holy Scripture always employs to signify by it the eternity of the age, as when it says: "do not depart from the Lord on this present day," that is, as long as the age stands. Let them show me, then..., how the "Jebusite," as long as the age stands, "dwells with the sons of Judah in Jerusalem," seeing that not even the "sons of Judah" themselves "dwell in Jerusalem." Therefore neither can this be true, that "the Jebusites dwell with the Jews in Jerusalem," since not even they themselves dwell in it. But let us understand these things spiritually, taking up the parable of the Gospel which says concerning the "tares": "let both grow together, lest perchance, when you wish to root up the tares, you root up together with them the wheat also." As therefore in the Gospel "the tares are permitted to grow together with the wheat," in the same way here too in Jerusalem, that is, in the church, there are certain "Jebusites," those who lead an ignoble and degenerate life, who are perverse both in faith and in deeds and in their whole manner of conduct. For it is not possible that the church be purged to clarity while it is on earth, so that neither any impious person nor any sinner may be seen to remain in it, but that all in it be holy and blessed and in whom no stain of sin at all may be caught. But just as it is said concerning the "tares": "lest perchance, in rooting up the tares, you root up together with them the wheat also," so also it can be said concerning those in whom there are either doubtful or hidden sins. For we do not say concerning those who are manifestly and evidently criminal, that they should not be expelled from the church. Hear then the Scripture saying that: "the sons of Judah could not drive out the Jebusites, but they dwelt with them in Jerusalem down to the present day." Wherefore I beseech you who are faithful, that you so keep your life and conduct that you neither yourselves suffer scandal in anything nor cause scandal to others; but let it be to you a matter of highest zeal and highest caution, lest anyone polluted enter into this holy congregation of yours, lest any Jebusite dwell with you. For you see that the Scripture says that "the sons of Judah could not cast out the Jebusites from Jerusalem." Now "Jebusite" is interpreted as trampling. Grant, then, that we cannot "cast out" those who trample us: let us at least cast out those whom we can, whose sins are manifest. For where sin is not evident, we can "cast out" no one from the church, "lest perchance in rooting up the tares we root up together with them the wheat also."
Source: HOMILIES ON JOSHUA 21.1