1And the men of Kiriathjearim came, and fetched up the ark of the LORD, and brought it into the house of Abinadab on the hill, and sanctified Eleazar his son to keep the ark of the LORD. 2And it came to pass, while the ark abode in Kiriathjearim, that the time was long; for it was twenty years: and all the house of Israel lamented after the LORD. 3And Samuel spoke unto all the house of Israel, saying, If you do return unto the LORD with all your hearts, then put away the foreign gods and Ashtaroth from among you, and prepare your hearts unto the LORD, and serve him only: and he will deliver you out of the hand of the Philistines. 4Then the children of Israel did put away Baalim and Ashtaroth, and served the LORD only. 5And Samuel said, Gather all Israel to Mizpah, and I will pray for you unto the LORD. 6And they gathered together to Mizpah, and drew water, and poured it out before the LORD, and fasted on that day, and said there, We have sinned against the LORD. And Samuel judged the children of Israel at Mizpah. 7And when the Philistines heard that the children of Israel were gathered together to Mizpah, the lords of the Philistines went up against Israel. And when the children of Israel heard it, they were afraid of the Philistines. 8And the children of Israel said to Samuel, Cease not to cry unto the LORD our God for us, that he will save us out of the hand of the Philistines. 9And Samuel took a sucking lamb, and offered it for a whole burnt offering unto the LORD: and Samuel cried unto the LORD for Israel; and the LORD heard him. 10And as Samuel was offering up the burnt offering, the Philistines drew near to battle against Israel: but the LORD thundered with a great thunder on that day upon the Philistines, and brought confusion upon them; and they were routed before Israel. 11And the men of Israel went out of Mizpah, and pursued the Philistines, and slaughtered them, until they came below Bethcar. 12Then Samuel took a stone, and set it between Mizpah and Shen, and called the name of it Ebenezer, saying, Thus far has the LORD helped us. 13So the Philistines were subdued, and they came no more into the territory of Israel: and the hand of the LORD was against the Philistines all the days of Samuel. 14And the cities which the Philistines had taken from Israel were restored to Israel, from Ekron even unto Gath; and their territory did Israel deliver out of the hands of the Philistines. And there was peace between Israel and the Amorites. 15And Samuel judged Israel all the days of his life. 16And he went from year to year in circuit to Bethel, and Gilgal, and Mizpah, and judged Israel in all those places. 17And his return was to Ramah; for there was his house; and there he judged Israel; and there he built an altar unto the LORD.