When Esau was 40 years old, he married Judith, the daughter of Beeri, and Basemath, the daughter of Elon. Both of those women were descendants of Heth, not from Isaac’s clan.