Exhorting Hospitality
Although Gaius had treated missionaries well in the past, John felt the need to exhort him to continue to do so. As to the phrase, "what is evil . . . what is good, John's chief concern was that Gaius and others not imitate Diotrephes' evil treatment of missionaries, but follow what they knew to be good.
The body of the letter closes with a commendation of Demetrius, the bearer of the letter, as a faithful Christian. Such commendation by name, like the naming of the addressee, was necessary to ensure that the letter was neither suppressed nor misused by those who, like Diotrephes, wanted to disrupt the unity of the congregation (3 John 1:9). See WLC 144; WSC 77.
John commends Gaius’ right behavior and right belief. It is clear that Gaius knows God (v. 11). John wants him to keep doing what he has been doing. John also commends Demetrius, talking about how trustworthy he is (v. 12)