Thus they made a covenant at Beersheba; then Abimelech and Phicol the commander of his army returned to the land of the Philistines.