It is a sin for many religions and often a crime as well.
See also Euthanasia.
Among the famous people who have committed suicide are Alan Turing, Sigmund Freud, and Kurt Cobain.