That's what the church I attended taught. It never seemed right when I heard it. The Book of Enoch "rings true"
After Cain arrived in the Land of Nod, to which he was evicted by God as his punishment for murdering his own brother Abel, his wife became pregnant and bore Cain's first child, whom he named Enoch.
This Enoch is not to be confused with Enoch, son of Jared, to whom the authorship of the Book of Enoch is ascribed.
After the birth of Enoch, the Hebrew text of Genesis 4:17 is unclear. Either Cain built a city and named it after the mighty Enoch, or else Enoch built a city. In the King James Bible, the text makes it clear that Cain built the city and named it after his son.