Then Abraham gave some sheep and cattle to Abimelech, and the two of them made an agreement.
Abraham separated seven lambs from his flock,
and Abimelech asked him, "Why did you do that?"
Abraham answered, "Accept these seven lambs. By doing this, you admit that I am the one who dug this well."
And so the place was called Beersheba, because it was there that the two of them made a vow.
After they had made this agreement at Beersheba, Abimelech and Phicol went back to Philistia.
Then Abraham planted a tamarisk tree in Beersheba and worshiped the Lord, the Everlasting God.
Abraham lived in Philistia for a long time.