When someone wrongs you, the ego rushes forward, hungry to be proven right, to make the other person wrong. This is why people drag each other into endless disputes. The grievance feels like justice, but it is only the pain-body feeding on conflict, growing stronger each time you defend your position.
To accept a wrong without retaliating is not weakness. It is the refusal to let the ego turn a passing offense into a lasting identity. You lose a little in the outer world and gain your inner peace, which no court could ever award you. That is why yielding here leaves you freer than winning ever could.