Sin leaks, and creeps, and repeats. The multi-generational narrative form of the Old Testament doesn't hide this from us, in fact, it paints it vividly in painful details of children living with the consequences of their parent's sins and, all too often, allowing those sins to form patterns that they live out themselves.
The story of the covenant people of God in Genesis is a story of God's faithfulness to a people who are fighting to survive. They are exiles, sojourners, almost everywhere they go, and they face the steepest odds in every land - not to mention the odds they lengthen through their own sin - and yet they cling to a promise that God will sustain them, bless them, increase them, and get them home. That is the story arc of all of the people of God, but we forgot the whole exiles and sojourners part of it.