Marital misconduct is a legal term, which applies to married people. If one of them behaves in a way that is bad for the marriage, this is seen as marital misconduct.
Common examples of marital misconduct are:
Such behaviors are often seen as a reason to get a divorce, which will end the marriage.