Friend told me I can do better

A little while ago, my best friend and I went to dinner, got some pizza and wine and really had great conversation about our lives. She opened up to me and told that she felt I can do better than my husband. I cant stop thinking about it. Has anyone else had a friend tell you this? Did you listen? Were they right? I feel that I am good at assessing other people's situation but when it comes to my own, I'm horrible. I think it's a human thing.