“The dissolution of a marriage is almost always an unhappy event, at the very least marked by disappointment and the loss of dreams and expectations. In addition, there are usually many legal, financial, parental, emotional, and practical aspects that require changes in responsibilities and routines, and it can take people years to regain equilibrium. Nevertheless, divorce serves an important function in legally and emotionally freeing people to form a more stable relationship.”
https://www.psychologytoday.com/us/basics/divorce