Ya got the first part right.
The second is a bit more complicated and you over simplify it.
I agree suicide is a sin. The Bible says so.
Allowing death to occur is not.