If A's revenge took the form of damaging B's car (not while anyone was in it) and costing thousands of dollars in repairs... Well, it would depend on just what B had done to A, and what alternatives A had. But if B had previously inflicted the same magnitude of economic damage on A, and perhaps gloated that there was no way for A to prove it, then... I think the main thing I'd feel for A is respect.
If I understand right, some people consider that justice is a form of revenge. If the process of administering justice is done by a legitimate third-party, which lets the victim focus on healing/repairing, then I agree that justice will help the victim.
(Yes, I know, masks aren't the perfect example because they do have a [smaller] prophylactic benefit to the wearer as well. But if they didn't, it would still be a good idea to wear them for disease containment, and "lol it doesn't benefit me" would be a dubious argument for the same reason.)