Justice and forgiveness are distinct concepts but both are based on the notion of wrongdoing by one person(s) and harm to another person(s). Forgiveness is a commitment that can be made by an injured person separately from the pursuit of justice. However, seeking justice is also commendable so long as the pursuit of punishment or recompense is not done with the “hidden motive” of seeking revenge.
Forgiveness is based on a personal moral commitment. By contrast, justice is best based on a community standard. Forgiveness provides a personal response to the wrongdoer as a mistaken but valuable human being and will likely provide relief from the pain of the wrongdoing. The pursuit of justice can validate the wrongdoing and can address (in part) the outcome of the wrongdoing itself.