Taking steps to heal yourself from damage, such as a physical burn or a psychological wound, doesn't necessarily mean not taking the threat seriously in future. Pain is a signal that teaches us a lesson. Once the lesson is learned, holding onto the pain can just be needless suffering.
You would be right if people would be rational, which they are not. They are emotional. If you forgive the abusive partner, the loan shark, the casino, etc, you return to them no matter what lessons you learned rationally. And this happens in real life a lot, it isn't just a theory.
Forgiveness isn't endorsement of the behavior. And it also doesn't depend on their changing. Maybe they won't change. Forgiveness is when you change, such that you are no longer unduly influenced in your present life by the pain they caused in the past.
So you might not have further dealings with them because emotionally releasing the power their actions have over you doesn't mean you're going to grant them power over you again. You can forgive and still distrust; you can forgive and set/enforce boundaries; you can forgive and still change how you pick the people you open up to or allow to influence your life. There's lots of ways to both forgive and move forward, rather than backward.
Taking steps to heal yourself from damage, such as a physical burn or a psychological wound, doesn't necessarily mean not taking the threat seriously in future. Pain is a signal that teaches us a lesson. Once the lesson is learned, holding onto the pain can just be needless suffering.