Margo discovers a great deal on her journey to self awareness.  Her urgent need to escape her abusive husband enables her to do things necessary for her survival.  She learns to not repeat her previous mistakes.  Realistically, things probably would have been much worse with the chances Margo took.