There is a subtle logical conflict that worth a thought. Let's first read Genesis 4:12-14
12 When you work the ground, it will no longer yield its crops for you. You will be a restless wanderer on the earth.”
13 Cain said to the Lord, “My punishment is more than I can bear.
14 Today you are driving me from the land, and I will be hidden from your presence; I will be a restless wanderer on the earth, and whoever finds me will kill me.” (NIV)
The punishment Cain received from the Lord was the ground would not yield enough food to him. But Cain concerned more that he would be killed.
Now we had the arguments;
- If the Lord did protect Cain from being killed, then the vengeance of sevenfold would not happened on anyone.
- If Cain did being killed, and if the vengeance was death, how would someone died seven times?
Cain and his descendant were all gone after the flood, but why would the scripture kept his genealogy until his 7th generation - Tubal-Cain?
I have the following extracted from Wikipedia
According to Rashi, Tubal-cain's name literally means "Cain's-Spices",
with the Hebrew word Tū́ḇal (תובל) deriving from the word Tū́ḇlin
(תבלין) meaning spices. Rashi states that he was named this, because
he "seasoned and improved the work of Cain". In other words, because
he was a blacksmith, who helped to make weapons which could be used to
kill more efficiently, he invokes his ancestor Cain's sin of murder.
Furthermore according to Tanhuma bar Abba, one day, Tubal-cain and his
father, Lamech, were hunting together with Tubal-cain serving as an
aid for his blind father. In the distance is Cain who Lamech believes
to be an animal. He checks with Tubal-cain to see if it is an animal,
but Tubal-cain deceives his father, and lets him shoot and kill his
forefather Cain, possibly because of Tubal-cain's blood lust. When
Lamech realizes what he has done, he throws his hands up in a fit of
mourning, accidentally killing his son Tubal-cain. However Genesis
Rabbah disagrees with this narrative.
Whether the above interpretation is true or not, but one is certain to me, when Lamech said to his wives, in Genesis 4:24
24 If Cain is avenged seven times,
then Lamech seventy-seven times. (NIV)
It echoed to the Lord said in Genesis 6:5
5 The Lord saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of the human heart was only evil all the time. (NIV)
Hence came forth the Flood to create a new world.