The scriptures contain several references to unborn children as people. In Jeremiah and Psalms he speaks of the unborn being the person. In Luke 1 the word used to describe John the Baptist in the womb is the same word used to describe Jesus in the manger. A child is a child from the time of conception. Its life is as sacred as that of the born.
Suicide is murder.
You are murdering yourself. The answer is simple. We are not saved because we confess our sins. We are saved because we have received the salvation provided by God in Christ. But suicide is not always obvious.