The Philistines went up and invaded Judah. They arrayed themselves for battle in Lehi.