1 Kings 20:26-30 New Revised Standard Version (NRSV)
26 In the spring Ben-hadad mustered the Arameans and went up to Aphek to fight against Israel. 27 After the Israelites had been mustered and provisioned, they went out to engage them; the people of Israel encamped opposite them like two little flocks of goats, while the Arameans filled the country. 28 A man of God approached and said to the king of Israel, “Thus says the Lord: Because the Arameans have said, ‘The Lord is a god of the hills but he is not a god of the valleys,’ therefore I will give all this great multitude into your hand, and you shall know that I am the Lord.” 29 They encamped opposite one another seven days. Then on the seventh day the battle began; the Israelites killed one hundred thousand Aramean foot soldiers in one day. 30 The rest fled into the city of Aphek; and the wall fell on twenty-seven thousand men that were left.
Ben-hadad also fled, and entered the city to hide.