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 2281

Suicide contradicts the natural inclination of the human being to preserve and perpetuate his life.
It is gravely contrary to the just love of self.
It likewise offends love of neighbor because it unjustly breaks the ties of solidarity with family, nation, and other human societies to which we continue to have obligations.
Suicide is contrary to love for the living God.

Official source ↗