it means that
With the time, the money and the effort that a case at court of law requires, it is better to avoid it by making a compromise, even if it is not so much on your advantage.
proverb
it means that
With the time, the money and the effort that a case at court of law requires, it is better to avoid it by making a compromise, even if it is not so much on your advantage.