Blood atonement was taught in the old testament:
(Old Testament | Exodus 21:23 - 25)
23 And if any mischief follow, then thou shalt give life for life,
24 Eye for eye, tooth for tooth, hand for hand, foot for foot,
25 Burning for burning, wound for wound, stripe for stripe.
(Old Testament | Deuteronomy 22:22 - 24)
22 ¶ If a man be found lying with a woman married to an husband, then they shall both of them die, both the man that lay with the woman, and the woman: so shalt thou put away evil from Israel.
23 ¶ If a damsel that is a virgin be betrothed unto an husband, and a man find her in the city, and lie with her;
24 Then ye shall bring them both out unto the gate of that city, and ye shall stone them with stones that they die; the damsel, because she cried not, being in the city; and the man, because he hath humbled his neighbour's wife: so thou shalt put away evil from among you.