When looking for a job being confident with yourself is a big advantage. Employers would not want applicants who are lacking in confidence because they are looking for someone who can do the work and would need little supervision. You would not want to hire someone who is too worried to move and would often bug the manager on what they are supposed to do. Companies would like to hire people with leadership potential.
But sometimes applicants become too confident that it borders on being discourteous.
I recently came across an old article from Wall Street Journal. It was written in 2010 but it is still relevant today.
For job applicants please never make this mistakes. You maybe the best in your field but if your potential employer gets the impression that you are not pleasant to work with, they are not going to hire you.