I love your message that a few bad chapters does not mean your story is over. I keep a few quotes near me at all times:
"Your past is just a story. And once you realize this, it has no power over you."
"Your life is your story. Write well. Edit often."