One day, King Abimelech came from Gearar with his advisor, Ahuzath and also Phicol, his army commander. “Why have you come here?” Isaac asked. “You obviously hate me, since you kicked me off you land.”
They replied, “We can plainly see that the Lord is with you. So we want to enter into a sworn treaty with you. Let’s make a covenant. Swear that you will not harm us, just as we have never troubled you. We have always treated you well, and we sent you away from us in peace. And now look how the Lord has blessed you!”
So Isaac prepared a covenant feast to celebrate the treaty, and they ate and drank together. Early the next morning, they each took a solemn oath not to interfere with each other. Then Isaac sent them home again, and they left them in peace.
That very day, Isaac’s servants came and told him about the new well they had dug. “We’ve found water!” they exclaimed. So Isaac named the well Shibah (which means “well of oath”).
At the age of forty, Esau married two Hittite wives: Judith , the daughter of Beeri, and Basemath, the daughter of Elon. But Esau’s wives made life miserable for Isaac and Rebekah. (vv. 26-35, NLT)