the son of Cainan, the son of Arphaxad, the son of Shem, the son of Noah, the son of Lamech,
Between Abraham and David the two genealogies are the same (Matthew 1:2-6a; Luke 3:32-34a), but between David and Jesus they are different, as they follow two lines of descent that started with David and came together in Jesus (Matthew 1:6-16; Luke 3:23-31).