In case of a divorce, dissolving the marriage contract for the misconduct of the wife, she shall not be endowed.