In a rare comment about relationships, Jennifer Garner has said women should never marry a man “thinking you can change him”.