Hammurabi’s code [1]. “For example, if a doctor killed a rich patient, he would have his hands cut off, but if he killed a slave, only financial restitution was required“
It is a bit depressing that things are so similar today - it highlights some of the larger hidden failures of egalitarianism even while it is being celebrated.