Jg 16:29 And Samson took hold of the two middle pillars which supported the temple, and he braced himself against them, one on his right and the other on his left.
30 Then Samson said, "Let me die with the Philistines!" And he pushed with all his might, and the temple fell on the lords and all the people who were in it. So the dead that he killed at his death were more than he had killed in his life.
Samson's death was not a suicide. It was the death of a martyr. He was Israel's one-man army at that time. A soldier goes to battle knowing full well that he may not return home alive. If he dies, it's not suicide but the death of a martyr; it's a death of a soldier who dies in battle.
His death was a sacrifice, not a suicide.