When Valjean saves Javert’s life, Javert commits suicide, jumping into the Seine. He does this because his black-and-white view of justice has had a serious monkey-wrench thrown into it when Valjean saves him. He owes someone he considers a criminal, a debt, and that is not acceptable.