Now Esau was 40 years old when he took as wife Judith the daughter of Beeri the Hittite, and Basemath the daughter of Elon the Hittite.