Samson. They had him chained up while "they" partied. He removed the pillars holding up the party temple. It came crashing down. On Samson. Party over. Samson dead. Party people (Philistines) who served Dagon & didn't give a damn dead too.
If (IF) it were intentional suicide, he would directly want to DIE. And If (IF) he had survived the collapse of the building, he would have considered it an unsuccessful suicide because he didn't die.
Comparable in some respects to a soldier throwing himself on a grenade to save his buddies. What he intends is not his own death. (It's foreseeable, but if (if) the grenade turned out to be a dud, he'd think it was great.)
UNLIKE the jihadi suicide bomber, rightly called "suicide" because he actually intends to die, enter Paradise, be kissed by Allah, indulge in eternal sensual vice as a reward: he intends, precisely, suicide. To him, it's not a glitch, it's a feature. In case of survival (unlike the self-sacrificing soldier) he'd be bitterly disappointed.
Self-sacrifice (fireman runs into collapsing building to attempt rescue of trapped person) is the moral opposite of suicide. Self-sacrifice is pro-life. Suicide is anti-life.