Jesus said that nothing from outside of a person can defile him when it enters into him.
Jesus said that what comes out of a person defiles him.