Jennifer Garner encouraged Ben Affleck to work on his marriage with Jennifer Lopez before their divorce filing, despite Garner being supportive and building a friendship with Lopez. Garner focused on Ben's happiness and continues to maintain a friendly co-parenting relationship.