Those people are courting you, but not honorably; they want to shut you out, so that you will court them.
In context
15So where is that happiness of yours now? I can testify that, had it been possible, you would have torn out your own eyes and given them to me. 16Have I now become your enemy by telling you the truth? 17Those people are courting you, but not honorably; they want to shut you out, so that you will court them. 18It is a fine thing to be courted, if the cause is good — always, and not only when I am with you. 19My children, I am in labor with you all over again until the Christ is formed in you.