Yet there's something not right about Samson. The old poem goes,
There Was A Little Girl (Henry Wadsworth Longfellow)
There was a little girl,
Who had a little curl,
Right in the middle of her forehead.
When she was good,
She was very good indeed,
But when she was bad she was horrid.
This almost applies to Samson, except we'd be hard-pressed to find when he was good, let alone, very good indeed.
Born under a vow of a Nazarite, specially devoted to God from his youth, Samson violates two of the three elements of his vow without even giving it a second thought. He touches dead bodies (even creates a few), and he drinks wine, limiting his food and drink consumption not at all. Yet God's blessing and power is on him all the way until his haircut.
How could Samson be so foolish as to give away his secret to Delilah? Wasn't it obvious to him that she wanted to undo him? Perhaps, but he had already gotten away with violence to his vow and God's blessing was still on him. His entire life was a contradiction to God's Laws. My guess is that his love for Delilah and his confidence in himself was so great that he believed nothing could go wrong. There was a chance that even cutting his hair might not be the end of his strength after all.
We do that, too. Walk against God's ways and always hope for the best. We're still empowered and blessed by God to do good, therefore, there's nothing we can't get away with. Until we have gone too far. And there's no undo button to rescue us from that fatal mistake.
Haggai 1:5 - Now therefore, thus says the LORD of Hosts, "Consider your ways!"