Craig Hart said this quote

Perfection should generally be avoided in a character. Real people, such as your readers, aren’t flawless and chances are they are not going to be able to fully identify with a character who is.