The Church of Ephesus had many good attributes.

It rejected evil, persevered in a corrupt society and had patience. They were commended for using discernment for those who claimed to be apostles, but weren't.

But still a group of false teachers called the Nicolaitans had tried to get into their leadership.