The Philistines controlled one hill while the Israelites controlled another. The valley was between them.