Thus they made a covenant at Beersheba. Then Abimelek rose with Phicol, the commander of his army, and they returned to the land of the Philistines.