It all boils down to the social hierarchy, which is one giant behavioral regulator. If everyone were to act the way they wanted, any hierarchy would fall apart. It is built on restraint. Since social ladders are present in species from fish and frogs to baboons and chickens, self-control is an age-old feature of animal societies.