Genesis 26:34 in the World English Bible
When Esau was forty years old, he took as wife Judith, the daughter of Beeri the Hittite, and Basemath, the daughter of Elon the Hittite.
Context
33 And he called it Shebah: therefore the name of the city is Beer-sheba unto this day.
34 And Esau was forty years old when he took to wife Judith the daughter of Beeri the Hittite, and Bashemath the daughter of Elon the Hittite:
35 Which were a grief of mind unto Isaac and to Rebekah.