After the treaty had been made at Beersheba, Abimelek and Phicol the commander of his forces returned to the land of the Philistines.