In the story of Samson, Israel had fallen into unfaithfulness to God . . . again.
We don't need God!
As a result, the Philistines invaded Canaan and dominated the Tribe of Dan.
The Israelites asked for God's forgiveness & for help.
Please save us!
God sent the judge, Samson, who became a village hero and enemy to the Philistines. Samson was not allowed to drink wine or cut his hair. Samson was infatuated with women and was weak-willed.
After Samson was tricked by Delilah into having his hair cut, he regained his strength in the Philistines' temple. He pushed two pillars over, crushing him and the Philistines with him.
Samson's story was one to boost the spirits of the exiles. It was also a reminder that Samson, like Israel, brought his fate upon himself. The story also clearly told the exiles to be more like Joshua, not Samson.