how was delilah related to the judge?
Samson could do  superhuman feats, and was betrayed by his lover Delilah, who ordered a servant to cut his hair while he was sleeping and turned him over to his Philistine enemies, so that   he would lose his strength.
Samson
The biblical account states that Samson was a Nazirite, and that he was given immense strength to aid him against his enemies and allow him to perform superhuman feats, including slaying a lion with his bare hands and massacring an entire army of Philistines using only the jawbone of a donkey. However, if Samson's long hair were cut, then his Nazirite vow would be violated and he would lose his strength.

Samson was betrayed by his lover Delilah, who, sent by the Philistines officials to entice him, ordered a servant to cut his hair while he was sleeping and turned him over to his Philistine enemies, who gouged out his eyes and forced him to grind grain in a mill at Gaza. 
where did the story of samson take place Israel and Philistia who is samson? In the Hebrew Bible, Samson  was the last of the judges of the ancient Israelites mentioned in the Book of Judges. in what language was that bible written in? Hebrew and Greek how is torah related to the bible? The Torah, also known as the Pentateuch are the first five books of the Bible called as Five Books of Moses where was the judge born? Israel who was he married to? A Philistine woman from Timnah can you name some prophets from philistines? Amos what kind of inscriptions were found here? Egyptian "Peleset" inscriptions what kind of burial practices did they have? Their burial arrangements were very common to the Aegean cultures, the Philistines were uncultured people by having evidence of perfume near the bodies in order for the deceased to smell it in the afterlife.
wiki:1136400
Samson [SEP] Introduction
However, if Samson's long hair were cut, then his Nazirite vow would be violated and he would lose his strength. Samson was betrayed by his lover Delilah, who, sent by the Philistines officials to entice him, ordered a servant to cut his hair while he was sleeping and turned him over to his Philistine enemies, who gouged out his eyes and forced him to grind grain in a mill at Gaza. While there, his hair began to regrow. When the Philistines took Samson into their temple of Dagon, Samson asked to rest against one of the support pillars. After being granted permission, he prayed to God and miraculously recovered his strength, allowing him to bring down the columns, collapsing the temple and killing himself as well as all of the Philistines.