Funnily enough, Delilah is actually originally very loosely inspired by the bible, Judges 16. The lyric "I was lost like a slave that no man could free" is a reference to Samson being tied up.
The writers left out the bit 'Lulling Samson to sleep in her lap, Delilah alerted the Philistine...