5 min read

Cain Built Walls Around His City Because He Was Afraid

Cain built the first walled city and named it for his son. The Chronicles of Jerahmeel traces what grew inside those walls before the flood.

The first city was built by a murderer, named for his son, surrounded by walls, and dug in with trenches. Cain was afraid of his enemies.

The Chronicles of Jerahmeel, a 12th-century Hebrew chronicle compiled by Jerahmeel ben Solomon and translated by Moses Gaster in 1899, preserves this detail without apology. Cain built the city and called it Enoch, after the name of his son, and he used to entice the people and rob and plunder them. He surrounded it with a wall and dug trenches. The text is explicit: he was the first to enclose a city with a wall, and the reason was fear. The man who had killed his brother and walked away with the mark of God's protection on him still could not feel safe. He needed walls. He needed trenches. He built the first architecture of security and filled it with people he robbed.

The Bereshit Rabbah, the great rabbinic midrash on Genesis composed in the Land of Israel around the 5th century CE, approaches the same verse from a different angle. Rabbi Yudan quotes Psalm 49:12, which speaks of the wicked naming their estates after themselves, their belief that their houses will endure forever. Cain named his city for his son Enoch, not for himself. The rabbis read this as a form of displaced vanity, the attempt to make the name immortal when the body cannot be. The city of Enoch was going to outlast Cain. The city of Enoch was going to outlast Enoch. The flood would take everything.

The Jerahmeel chronicle records what grew up inside those walls. Cain's descendants invented the technologies that would define and corrupt human civilization. Jabal, the son of Lamech, invented tents and pens for livestock, separating the sheep from the oxen, establishing the first agricultural organization. His brother Jubal discovered the science of music, the harp and the reed-pipe, and the art passed from him to every musician who has ever played. His half-brother Tubal-Cain forged iron implements of war, invented the axe, the hammer, the pincers, and discovered how to join lead and iron together to temper a blade. His sister Naamah invented the art of weaving, silk and wool and flax, the entire craft of the loom.

All of these inventions are gifts. That is what makes the Jerahmeel account so uncomfortable. The line of Cain is explicitly a line of evil-doers, the seed of evil-doers, the text says plainly. All his descendants would be swallowed by the flood. And yet they are also the inventors of music, metallurgy, animal husbandry, and weaving. Everything beautiful in material civilization traces back to the walled city Cain built out of fear.

Jubal, according to the Jerahmeel account, heard Adam's prophecy about the two destructions coming on humanity, the flood and the fire, and he wrote the science of music down on two pillars, one of white marble and one of brick, so that if one was melted by water the other would survive. The knowledge he encoded was too precious to lose. He was a descendant of Cain, living inside a city built on violence, and he was worried about the preservation of music for future generations. The contradiction is not resolved. It is simply recorded.

The Chronicles of Jerahmeel make one further observation about the city of Enoch that opens onto something stranger still. There was another Enoch, the text notes, the seventh from Adam in the line of Seth, the one God took to Himself (Genesis 5:24). That righteous Enoch would one day come and rededicate the city of Enoch with a holy dedication, together with the sons of Lamech. The first Enoch, Cain's son, had given the city its name in an act of naming-as-immortality. The second Enoch, righteous and taken into God's presence, would redeem the name. The city built by the first murderer would be sanctified by the man who bypassed death.

Josephus, writing his Antiquities of the Jews in the first century CE, adds one more layer to the portrait of Cain as civilization's founder. He notes that Cain invented weights and measures, that he drew the first property lines, that he turned human relationships into transactions. Before Cain, the Josephus account implies, there was no concept of mine and yours, no boundary markers, no scales. Cain introduced all of it. The first murderer was also the first economist, the first cartographer of ownership, the first architect of the systems humans use to protect what they have taken and formalize what they have stolen. The walled city was the final expression of a logic he had been building since the moment he stood over Abel's body and decided the ground could keep the secret.

Bereshit Rabbah names the descendants after the city: Irad, Mehuyael, Metushael, Lamech. Rabbi Yehoshua ben Levi reads each name as a sentence in a verdict: I will expel them from the world, I will eradicate them from the world. The genealogy of Cain is a countdown. The walls came down in the flood. The music survived on a marble pillar. The iron tools rusted or were carried into the ark's shadow and reappeared on the other side of the water in the hands of Noah's sons. The walled city is gone. What Cain's descendants built inside it is still with us.

← All myths