The Samson and Delilah story is a sequel to the First Commandment in Exodus 34:12-16. It shows the consequences of violating the First Commandment.
Exodus 34:12-16 (CEV) = "12 Don’t make treaties with any of those people. If you do, it will be like falling into a trap. 13 Instead, you must destroy their altars and tear down the sacred poles they use in the worship of the goddess Asherah. 14 I demand your complete loyalty—you must not worship any other god! 15 Don’t make treaties with the people there, or you will soon find yourselves worshiping their gods and taking part in their sacrificial meals. 16 Your men will even marry their women and be influenced to worship their gods."
Samson was a member of the tribe of Dan. He got involved with a hooker who worked for the Philistines and compromised his holy purpose. He was able to recover somewhat but at great expense.
Exodus 34:12-16 (CEV) = "12 Don’t make treaties with any of those people. If you do, it will be like falling into a trap. 13 Instead, you must destroy their altars and tear down the sacred poles they use in the worship of the goddess Asherah. 14 I demand your complete loyalty—you must not worship any other god! 15 Don’t make treaties with the people there, or you will soon find yourselves worshiping their gods and taking part in their sacrificial meals. 16 Your men will even marry their women and be influenced to worship their gods."
Samson was a member of the tribe of Dan. He got involved with a hooker who worked for the Philistines and compromised his holy purpose. He was able to recover somewhat but at great expense.