Who was saying they had no sin? The gnostics. "It's not me sinning," they said. "It's just my body."
So, too, there are people today who say, "There are no absolutes. What's wrong for you isn't wrong for me. I may not be perfect, but I'm not a sinner."
John, however, says any person at any time in any culture who says, "I'm not a sinner," is deceiving himself. He just doesn't get it.