Samson goes to Gaza, sees a prostitute and goes in to her. The people of Gaza lie in wait all night to kill him at dawn, but he rises at midnight and carries the city gate with its posts to a hilltop facing Hebron.
Afterward he falls in love with Delilah, who lives in the valley of Sorek. The Philistine lords each offer her eleven hundred pieces of silver to find out the secret of his strength. Delilah presses him. First he says seven fresh bowstrings will weaken him, and he snaps those she uses with men hidden in the room. Then he says new ropes would bind him, and he breaks them too. Next, that she could weave seven locks of his hair into the loom, but he rises with the loom.
Delilah nags him every day until, vexed to death, he tells her everything: a razor has never touched his head, he is a Nazirite to God from the womb, and if he is shaved his strength will leave him. She sends for the Philistine lords, who bring the money. She lulls Samson to sleep on her knees, a man shaves his seven locks, and his strength leaves him. The Philistines seize him, and Samson does not know that the Lord has left him. They gouge out his eyes, bring him down to Gaza, bind him with bronze shackles and set him to grind in the prison. But his hair begins to grow again.
The Philistines gather to sacrifice to Dagon their god, and rejoice because he delivered Samson. They bring him from the prison to entertain them and place him between the pillars of the temple, full of people, with three thousand on the roof. Samson asks a young man to lead him to the pillars, and prays to the Lord to remember him and strengthen him once more. He pushes the pillars with both hands, and the temple falls on the lords and all the people. Those he killed at his death were more than those he killed in his life. His family buries him between Zorah and Eshtaol. He had judged Israel twenty years.