When Esau was 40 years old, he took as his wives Judith daughter of Beeri the Hittite, and Basemath daughter of Elon the Hittite.