And the word of Samuel came to all Israel. In those days the Philistines mustered for war against Israel, and Israel went out to battle against them; they encamped at Ebenezer, and the Philistines encamped at Aphek.
The Philistines drew up in line against Israel, and when the battle was joined, Israel was defeated by the Philistines, who killed about four thousand men on the field of battle.
When the troops came to the camp, the elders of Israel said, "Why has the LORD put us to rout today before the Philistines? Let us bring the ark of the covenant of the LORD here from Shiloh, so that he may come among us and save us from the power of our enemies."
So the people sent to Shiloh, and brought from there the ark of the covenant of the LORD of hosts, who is enthroned on the cherubim. The two sons of Eli, Hophni and Phinehas, were there with the ark of the covenant of God.
When the Philistines heard the noise of the shouting, they said, "What does this great shouting in the camp of the Hebrews mean?" When they learned that the ark of the LORD had come to the camp,
Woe to us! Who can deliver us from the power of these mighty gods? These are the gods who struck the Egyptians with every sort of plague in the wilderness.
So the Philistines fought; Israel was defeated, and they fled, everyone to his home. There was a very great slaughter, for there fell of Israel thirty thousand foot soldiers.
When he arrived, Eli was sitting upon his seat by the road watching, for his heart trembled for the ark of God. When the man came into the city and told the news, all the city cried out.
The messenger replied, "Israel has fled before the Philistines, and there has also been a great slaughter among the troops; your two sons also, Hophni and Phinehas, are dead, and the ark of God has been captured."
When he mentioned the ark of God, Eli fell over backward from his seat by the side of the gate; and his neck was broken and he died, for he was an old man, and heavy. He had judged Israel forty years.
Now his daughter-in-law, the wife of Phinehas, was pregnant, about to give birth. When she heard the news that the ark of God was captured, and that her father-in-law and her husband were dead, she bowed and gave birth; for her labor pains overwhelmed her.
She named the child Ichabod, meaning, "The glory has departed from Israel," because the ark of God had been captured and because of her father-in-law and her husband.