Although it is listed in as being a city in the plain, Socho is actually partly in the hill country and partly in the plain. The biblical account states that the Philistines encamped between Sokho and Azekah in the Valley of Elah before Goliath's historic encounter with David, the son of Jesse (). David slew the Philistine giant with a stone slung from a shepherd's sling. Rehoboam fortified the place (), but it is not clear which of the two sites is referred to. Socho was one of the cities occupied temporarily by the Philistines in the time of Ahaz ().