I think excess of anything is bad, whether it's confidence, pride, ego, or anything else in general, because if something crosses the limit, it starts to become a negative thing even if it isn't negative by nature. If a container can only take 100 apples, but you fill it with 150, then either the container will break or the apples will go bad because of extra force and pressure. I'm using this example to explain what I wanted to say above about crossing the limit.
A person who is doing really well in something, they should be confident about their skills and abilities, and that will allow them to continue doing better. However, the moment they get overconfident and start thinking that they are ahead of the whole world and no one can reach their level, they will automatically start making mistakes after that, out of overconfidence, and then others will start doing better than them. If they stayed humble and only were confident because of their performance, they wouldn't have to face the downfall.
So, it's obviously important for every person to do things within their limits if they don't want to ruin everything for themselves.
Very true, too much of good things can become poisonous to the body, one should do things in moderation once it becomes too much it's bad. There's something about overconfidence it makes you think you're above everyone else, you do things to prove points and makes you feel you know everything.
As a business person or you're into something that earns you money you should be confident of yourself as you rightly said, once you feel that you already know and don't want to put in the works failure sets in, like for a business person who thinks his/her product is the best so you feel that there's no need for marketing or even giving your customers the best service so they can come back and even refer you, once that mentality of you're the best and you're product or skills are the best that's where failure comes. One should be humble and know where to draw the lines any where you find yourself, too much of everything is bad.