When the cheater is part of our social group, we identify with that person and, as a consequence, feel that cheating is more socially acceptable. But when the person cheating is an outsider, it is harder to justify our misbehavior, and we become more ethical out of a desire to distance ourselves from that immoral person and from that other (much less moral) out-group.

