After they made the treaty at Beersheba, Abimelech and Phicol, the commander of his army, left and went back to the land of the Philistines.