It’s called denial or repression of reality cuz they can’t handle the truth.
They would rather live a lie to keep up outwardly veneer and appearance of pretended happiness.
Women (and men) who put up with cheating partners would fall into that category. Sad!