If a man is honest about his insecurities making him seem unconfident is that a turn off?

Hypethically if your boyfriend or someone your talking to opened up to you about something they were insecure about and was seeming like they were not confident at all (since most girls love confidence) would this make him less attractive or be a turnoff? How would you respond?
If a man is honest about his insecurities making him seem unconfident is that a turn off?
Post Opinion