Everywhere stealing, lying and killing are considered wrong. But in some contexts, in war for example, these codes can differ. Robert Hinde argues that understanding the evolutionary origins of our morality and how we bend the rules can help guide us away from global catastrophe and towards a more ethical world.