Sometimes we do everything right and we still lose.
In my opinion, the whole 'you have to forgive the people who did you wrong to be able to move on' idea is bullshit and harmful to victims. You do, however, have to forgive yourself for not being able to stop the bad thing from happening.