So Abraham and Abimelech made an agreement at Beersheba. Then Abimelech and Phicol, the commander of his army, went back to the land of the Philistines.