When Esau was forty, he married Judith the daughter of Beeri the Hittite and Basemath the daughter of Elon the Hittite.