Genesis 26:34

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

Surrounding context

26:33 So he called it Shebah. Therefore the name of the city is Beersheba to this day.

26:34 When Esau was forty years old, he took as wives Judith the daughter of Beeri the Hittite, and Basemath the daughter of Elon the Hittite.

26:35 And they were a grief of mind to Isaac and Rebekah.

Translation and sources