The Philistines were stationed on one hill and the Israelites on an opposite hill, with a valley between them.