For Kain who sinned and was converted by repentance (had protection) unto seven generations extended to him: and to Lemek, the son of his son, who hath not sinned, it is just that it shall be extended unto seventy and seven.
Why Lamech Deserves Seventy-Seven Generations of Protection
Targum Pseudo-Jonathan on Genesis 4:24