Its more about not dragging others into your vengeance. Fumika couldn't rest in peace because Junko's grudge was so overwhelming and she didn't bury her entirely. Plus she almost killed a bystander.
Wanting vengeance and justice are not inherently bad but Junko went the wrong way about it...