Where the word comes from
Ebenezer is the Hebrew Even ha-Ezer, "the stone of the help". Even is a stone, and ezer is help, a word often used of God himself as Israel's helper (it is also the word used of the woman in Genesis 2:18). The name was given to a memorial stone, and 1 Samuel also uses it for a place.
How the Bible uses it
The name first appears in 1 Samuel 4, where Israel camps at Ebenezer to fight the Philistines, who are at Aphek. Israel is defeated, and the elders send for the ark of the covenant, hoping it will win the battle for them. Instead Israel is routed a second time, the ark is captured, and it is carried off from Ebenezer to the Philistine city of Ashdod (1 Samuel 5:1).
Twenty years later the scene is reversed. Samuel calls Israel to put away foreign gods and return to the LORD with all their hearts. They gather at Mizpah, fast and confess their sin. When the Philistines attack, Samuel offers a lamb and cries to the LORD, and the LORD thunders against the Philistines and throws them into confusion. Afterwards Samuel sets up a stone between Mizpah and Shen and names it Ebenezer, saying, "Hitherto hath the LORD helped us" (1 Samuel 7:12, KJV).
Scholars differ on whether the Ebenezer of chapter 4 is the same spot as Samuel's stone, or whether the earlier place is simply called by the name it later became known by. Either way, the story turns a place of disaster into a place of remembered help.
In Christian worship
The word is best known from Robert Robinson's 1758 hymn "Come, Thou Fount of Every Blessing", with its line "Here I raise my Ebenezer". Many chapels and churches, especially in Wales and among Baptists and Methodists, have been named Ebenezer. Preachers use it to encourage believers to mark and remember the ways God has helped them, as a reason to trust him for what lies ahead.
