What is condonation as a defense?

Condonation is approval of certain behavior. If someone does not object to something, one could be said to have condoned it. For example, if a wife sued her husband for divorce on the grounds that he committed adultery, he could raise the defense that she condoned it, or knew about it and did not object to it. She would be unable to obtain the divorce in that case.