Can't say I agree with this, considering lex talionis[1] is still the primary directive of most legal systems when it comes to criminal law, as well as basically all military operations (jus in bello, jus ad bellum, etc.). The principle of proportionality ("an eye for an eye") also is relevant to self-defense, capital punishment, etc.
In fact, I would counter and say that Hammurabi's Code is a quintessential example.
Morality is knowledge, and it evolves like other knowledge does.