22 At that time Abimelech and Phicol the commander of his forces said to Abraham, "God is with you in everything you do. 23 Now swear to me here before God that you will not deal falsely with me or my children or my descendants. Show to me and the country where you are living as an alien the same kindness I have shown to you."
24 Abraham said, "I swear it."
25 Then Abraham complained to Abimelech about a well of water that Abimelech's servants had seized. 26 But Abimelech said, "I don't know who has done this. You did not tell me, and I heard about it only today."
27 So Abraham brought sheep and cattle and gave them to Abimelech, and the two men made a treaty. 28 Abraham set apart seven ewe lambs from the flock, 29 and Abimelech asked Abraham, "What is the meaning of these seven ewe lambs you have set apart by themselves?"
30 He replied, "Accept these seven lambs from my hand as a witness that I dug this well."
31 So that place was called Beersheba, because the two men swore an oath there.
26 Meanwhile, Abimelech had come to him from Gerar, with Ahuzzath his personal adviser and Phicol the commander of his forces. 27 Isaac asked them, "Why have you come to me, since you were hostile to me and sent me away?"
28 They answered, "We saw clearly that the LORD was with you; so we said, 'There ought to be a sworn agreement between us'-between us and you. Let us make a treaty with you 29 that you will do us no harm, just as we did not molest you but always treated you well and sent you away in peace. And now you are blessed by the LORD."
30 Isaac then made a feast for them, and they ate and drank. 31 Early the next morning the men swore an oath to each other. Then Isaac sent them on their way, and they left him in peace. 32 That day Isaac's servants came and told him about the well they had dug. They said, "We've found water!"
33 He called it Shibah, and to this day the name of the town has been Beersheba.
Two very similar stories happening to two different patriarchs ending with two different reasons for the origins of Beersheba's name.
Curious, don't you think?