The story of Cain's murder of Abel and its consequences is told in Genesis 4:1–18:
[i] And the human knew Eve his woman and she conceived and bore Cain, and she said, "I have got me a man with the Lord."[ii] And she bore as well his brother Abel, and Abel became a herder of sheep while Cain was a tiller of the soil. And it happened in the course of time that Cain brought from the fruit of the soil an offering to the Lord. And Abel too had brought from the choice firstlings of his flock, and the Lord regarded Abel and his offering but did not regard Cain and his offering. And Cain was very incensed, and his face fell. And the Lord said to Cain,
"Why are you incensed,
and why is your face fallen?
For whether you offer well,
or whether you do not,
at the tent flap sin crouches
and for you is its longing,
but you will rule over it."
[iii] And Cain said to Abel his brother, "Let us go out to the field," and when they were in the field Cain rose against Abel his brother and killed him. [iv] And the Lord said to Cain, "Where is Abel your brother? And he said, "I do not know: am I my brother's keeper?" [v] And He said, "What have you done? Listen! Your brother's blood cries out to me from the soil. And so, cursed shall you be by the soil that gaped with its mouth to take your brother's blood from your hand. If you till the soil, it will no longer give you strength. A restless wanderer shall you be on the earth." And Cain said to the Lord, "My punishment is too great to bear. Now that You have driven me this day from the soil I must hide from Your presence, I shall be a restless wanderer on the earth and whoever finds me will kill me." And the Lord said to him, "Therefore whoever kills Cain shall suffer sevenfold vengeance." And the Lord set a mark upon Cain so that whoever found him would not slay him.
And Cain went out from the Lord's presence and dwelled in the land of Nod east of Eden. And Cain knew his wife and she conceived and bore Enoch. Then he became the builder of a city and he called the name of the city like his son's name, Enoch.