Death is nothing to us
Good and bad exist only in sensation, and death is the end of sensation, so death cannot be bad for the one who dies. Where death is, we are not; where we are, death is not. Fearing death therefore means suffering now over a condition we will never experience, which makes the fear itself the only real harm.