Immediately following the initial rebellion of humanity, God makes a promise that one day a certain descendant of the woman will restore order and make all things right again. As we read through the Scriptures, we come to see and understand that the Descendant first mentioned in this original promise in Genesis is the Promised One - Jesus the Christ.
In Genesis 5, we have a mysterious lineage of that promised descendant being traced from Adam to Noah. And while we are often tempted to skim quickly through genealogies in the bible, there are a few interesting observations that can be made from this initial genealogy in Genesis 5.
God warns of his judgement
Enoch, who we are told was a God-fearing man, named his son Methuselah which in Hebrew has a meaning that implies 'his death shall bring judgement'. Interestingly enough, Methuselah dies in the same year as the flood that occurred as a judgement from God on account of the rebellion and corruption of His creatures. God in his goodness warns humanity of His oncoming judgement.
God is patient with his people
Methuselah, who's name is seemingly a prophetic warning about coming judgement, is portrayed as living longer than other man in the Bible (969 years). God is patient with His people.
God offers salvation
Methuselah's son, Lamech, names his son, Noah, which in Hebrew has a meaning that implies 'he brings rest and a great blessing to his generation'. God offers salvation.
Thus, the first recorded lineage of the promised Descendant ends with the man who would offer his generation a great blessing and rest from their coming judgement (Noah). As we continue on in Genesis and throughout the entirety of the Old Testament, we see this lineage one day ends with the Son of Man who offers all generations the blessing of His life and salvation from their final judgement.
There's a practical lesson to be learned here that might help us and encourage us when we come across seemingly obscure passages in Scripture. Everything (even an Old Testament genealogy) points to the good news of Jesus Christ and the plan of God to fulfill His original promise of restoring His rebellious creatures and his corrupted creation.