Israel and the Philistines were lining up their armies for battle. The armies were facing each other.