Genesis 48-49

Overall: Jacob shows great care to recognize all of his sons before his death, but also to declare, even prophesy, what their futures will be, given their actions.

Genesis 36-37

Genesis 36, entirely, establishes that Esau is the original ancestor of the Edomites. Whenever you read about Edom (Edomites) in Scripture, remember that it is talking about the descendants of Esau.