Synchronized activity between the ventromedial prefrontal cortex and temporoparietal junction improves learning and decision-making when people try to avoid harming others.