Samson willingly went into situations that led to sin, but each time, God used him for His glory. God created Samson to “begin the deliverance of Israel from the hands of the Philistines” (Judges 13:5). Even sinful men cannot prevent God’s will. When Samson killed the lion, it was his first recorded test of strength. It gave him confidence to face the Philistines. He murdered 30 Philistines out of vengeance in order to pay a debt. Later, Samson swears to “get even with the Philistines” (Judges 15:3) and to “get [his] revenge on [the Philistines]” (Judges 15:7). Both occasions were for personal reasons and were not godly, but God used them as a springboard to launch Israel out of their oppression. Despite Samson’s sin, God’s will would not be thwarted.
Even though God’s will is unstoppable, Samson still experienced the consequences for his sin. When he met Delilah and she begged to know the secret of his strength, he broke the final part of the Nazirite law: “During the entire period of his vow of separation no razor may be used on his head. He must be holy until the period of his separation to the Lord is over; he must let the hair of his head grow long” (Numbers 6:5). After Delilah’s countrymen cut his hair, Samson still expected God to be with him. “He awoke from his sleep and thought, ‘I'll go out as before and shake myself free.’ But he did not know that the LORD had left him” (Judges 16:20). He had gained confidence from previous violations which appeared to have gone unpunished, but his continual willful disobedience had reached an end. When Samson had finally broken all of the Nazirite laws, he had to face the consequences of his actions.
The lessons we can learn from Samson’s life are that if we willingly and repeatedly walk into temptations which lead to sin, we will suffer the consequences of our disobedience even though God still uses us to accomplish His will. In the end, Samson understood the true source of his strength, but he never understood his true purpose. “Then Samson prayed to the LORD, ‘O Sovereign LORD, remember me. O God, please strengthen me just once more, and let me with one blow get revenge on the Philistines for my two eyes’" (Judges 16:28). We see from this verse that Samson was more concerned about revenge than about doing God’s will, and it cost him his life. “Thus he killed many more when he died than while he lived” (Judges 16:30). God’s will was done, but the many blessings Samson might have seen were never realized.
Read more:
http://www.gotquestions.org/life-Samson.html#ixzz2MLkpLoIp