Neeraj/ Ebisu- san , I am surprised that you know so much about ancient Greek history. Indeed, their battle was brave and if it wasn't for Efialtis ( translated as Nightmare) who betrayed them, they might as well have won.
I believe that this course of action is not a suicide anymore, but a self-sacrifice. In that case, the act is not only not condemned but praised.