Whether it is lawful to kill oneself?

Objections

Objection 1 : It would seem lawful for a man to kill himself. For murder is a sin in so far as it is contrary to justice. But no man can do an injustice to himself, as is proved in Ethic. v, 11. Therefore no man sins by killing himself.
Objection 2 : Further, it is lawful, for one who exercises public authority, to kill evil-doers. Now he who exercises public authority is sometimes an evil-doer. Therefore he may lawfully kill himself.
Objection 3 : Further, it is lawful for a man to suffer spontaneously a lesser danger that he may avoid a greater: thus it is lawful for a man to cut off a decayed limb even from himself, that he may save his whole body. Now sometimes a man, by killing himself, avoids a greater evil, for example an unhappy life, or the shame of sin. Therefore a man may kill himself.
Objection 4 : Further, Samson killed himself, as related in Judges 16, and yet he is numbered among the saints (Heb. 11). Therefore it is lawful for a man to kill himself.
Objection 5 : Further, it is related (2 Mach. 14:42) that a certain Razias killed himself, "choosing to die nobly rather than to fall into the hands of the wicked, and to suffer abuses unbecoming his noble birth." Now nothing that is done nobly and bravely is unlawful. Therefore suicide is not unlawful.