Before I formed you in the womb I knew you, and before you were born I consecrated you. 72 My frame was not hidden from you, when I was being made in secret, intricately wrought in the depths of the earth. 73

Catechism number 2282

If suicide is committed with the intention of setting an example, especially to the young, it also takes on the gravity of scandal.
Voluntary co-operation in suicide is contrary to the moral law.
Grave psychological disturbances, anguish, or grave fear of hardship, suffering, or torture can diminish the responsibility of the one committing suicide.

Official source ↗