We're genetically predisposed toward certain behaviors that we've collectively decided are unhelpful; adultery and racism are possible examples. With reasonable success, we mitigate those impulses through civil codes, religious rituals, maternal warnings--the whole bag of tricks we call culture.