10 If anyone comes to you and does not bring this teaching, do not take them into your house or welcome them.

Read 2 John 1:10 Using Other Translations

If there come any unto you, and bring not this doctrine, receive him not into your house, neither bid him God speed:
If anyone comes to you and does not bring this teaching, do not receive him into your house or give him any greeting,
If anyone comes to your meeting and does not teach the truth about Christ, don’t invite that person into your home or give any kind of encouragement.