I did not know you could go to jail for attempting suicide in Canada. The only place suicide is glorified is in Japan through Hara Kiri relating to the ritual of self killing by a warrior. But suicide as such is considered the most dignified and expected outcome from any failure.

In India as part of the Socialistic thought even your own life does not belong to you. Maybe the punishment is a big deterrent but there are some who barely escape from suicide attempts and are grievously injured in the process. But to add insult to injury they are still charged for the crime instead of counselling or help and will have to face them when they recover.