19-24 One day, as Isaac’s servants were digging in the valley, they came on a well of spring water. The shepherds of Gerar quarreled with Isaac’s shepherds, claiming, “This water is ours.” So Isaac named the well Esek (Quarrel) because they quarreled over it. They dug another well and there was a difference over that one also, so he named it Sitnah (Accusation). He went on from there and dug yet another well. But there was no fighting over this one so he named it Rehoboth (Wide-Open Spaces), saying, “Now God has given us plenty of space to spread out in the land.” From there he went up to Beersheba. That very night God appeared to him and said,I am the God of Abraham your father;don’t fear a thing because I’m with you.I’ll bless you and make your children flourishbecause of Abraham my servant.
25 Isaac built an altar there and prayed, calling on God by name. He pitched his tent and his servants started digging another well.
26-27 Then Abimelech came to him from Gerar with Ahuzzath his advisor and Phicol the head of his troops. Isaac asked them, “Why did you come to me? You hate me; you threw me out of your country.”
28-29 They said, “We’ve realized that God is on your side. We’d like to make a deal between us—a covenant that we maintain friendly relations. We haven’t bothered you in the past; we treated you kindly and let you leave us in peace. So—God’s blessing be with you!”
30-31 Isaac laid out a feast and they ate and drank together. Early in the morning they exchanged oaths. Then Isaac said good-bye and they parted as friends.
32-33 Later that same day, Isaac’s servants came to him with news about the well they had been digging, “We’ve struck water!” Isaac named the well Sheba (Oath), and that’s the name of the city, Beersheba (Oath-Well), to this day.
34-35 When Esau was forty years old he married Judith, daughter of Beeri the Hittite, and Basemath, daughter of Elon the Hittite. They turned out to be thorns in the sides of Isaac and Rebekah.