Genesis 26:34 in the King James Version
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:
Context
33 He called it “Shibah”. Therefore the name of the city is “Beersheba” to this day.
34 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.
35 They grieved Isaac’s and Rebekah’s spirits.