The lords of the Philistines gathered them together to offer a great sacrifice to Dagon their god, and to rejoice; for they said, Our god has delivered Samson our enemy into our hand.
We should not regard Samson’s death as suicide but as martyrdom (cf. Hebrews 11:32). He died in battle.