I cannot bear much of the Old Testament if taken literally
(such as 'god' ordering 'his people' to go and kill another tribe, etc...there are some very un-holy things put into god's mouth in the O.T...) But if taken metaphorically
- we could see the whole thing as referring to an inner process
that a person goes through on the spiritual journey. Maybe the 'enemies of god' represent the defilements, and the 'promised Land' represents the peace of a mind freed from all unwholesomeness, etc - although I must say I prefer the Buddhist scripures, where the distinction between actual and metaphorical is more clearly drawn!
As for the story of Samson and Delilah, I always found it very sad (when I read it as a boy), although I did find it inwardly inspiring how in the end, with his power gone due to having his hair cut, that nevertheless his final act of surrender to God was enough to give him his awesome strength back one last time, and bring down the whole building with everyone in it. There is, I must admit, something beautiful about how in his moment of utter weakness, he is able to rely on something greater than himself; looking at this in a Buddhist sense, 'the Dhamma is above all', and even though all things in the world arise and pass away, the Truth endures
- and it's the only thing we can rely on.