Leviticus 24:18

16 Whoever blasphemes the name of the LORD must surely be put to death; the whole assembly must surely stone him, whether he is a foreign resident or native; if he blasphemes the Name, he must be put to death.

17 And if a man takes the life of anyone else, he must surely be put to death.

Whoever kills an animal must make restitution—life for life.

19 If anyone injures his neighbor, whatever he has done must be done to him:

20 fracture for fracture, eye for eye, tooth for tooth. Just as he injured the other person, the same must be inflicted on him.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Whoever kills an animal must make restitution—life for life.
KJV
And he that killeth a beast shall make it good; beast for beast.
WEB
He who strikes an animal mortally shall make it good, life for life.
ASV
And he that smiteth a beast mortally shall make it good, life for life.
DARBY
And he that smiteth a beast mortally shall make it good, life for life.
BLB
And he who kills an animal shall make it good—the life of animal for animal.
ÅB
Men den som slår et stykke fe ihjel, skal godtgjøre det, liv for liv.
OTB
Enhver som tar livet av et dyr må gi erstatning, liv for liv.
B1930
Men den som slår et stykke fe ihjel, skal godtgjøre det, liv for liv.

Study notes (Tyndale)

Original text and word study

Cross references