Ashdod appears repeatedly in the Old Testament as a major Philistine center. Joshua 11:22 states that remnants of the Anakim survived in Gaza, Gath, and Ashdod, and Joshua 15:47 lists Ashdod among the coastal cities assigned to Judah.
Its best-known biblical episode follows the Philistine capture of the Ark of the Covenant. According to 1 Samuel 5, the Philistines placed the Ark in the temple of Dagon at Ashdod. On successive mornings the image of Dagon was found fallen before the Ark, and the people of the city were subsequently afflicted. The Philistines then moved the Ark from Ashdod.
Later prophetic texts also pronounce judgment upon Ashdod and the other Philistine cities, reflecting the long political and religious rivalry between Philistia and Israel.