Genesis 4:15; Genesis 4:24

15 And the Lord said, Truly, if Cain is put to death, seven lives will be taken for his. And the Lord put a mark on Cain so that no one might put him to death.
24 If seven lives are to be taken as punishment for Cain's death, seventy-seven will be taken for Lamech's.