Jesus always remained himself, whether he was with tax collectors or with Pharisees. He had true life within him. Therefore, society did not infect him, rather he infected society. And we, too, should be alive like that: people with life, who are sent into the world. 

When we are alive, people take notice.