Leviticus 24:18

18 Someone who kills an animal may make amends for it: a life for a life.