Samson went to Gaza, and saw there a prostitute, and went in to her.
Why did God continue to use Samson since he was so morally impure? Part of the answer has to be that God had chosen to use him and was patient with him. God’s patience allowed Samson the opportunity to repent and to experience God’s blessing instead of His judgment (cf. 2 Peter 3:9; 1 Corinthians 11:31). Unfortunately Samson responded to God’s patience by taxing it to its limit. While the heavenly Father is patient, He is not permissive. That is, He does not allow unacceptable behavior to continue indefinitely without discipline.