It's a very thin line.

You need to understand that very thin line between pride/ego and confidence.

The difference is only one thing - intention behind why you do what you do.