These 3 C's, they are both good and bad.
Competition can be good to further ourselves, to mold us to do and be better. It can be bad because we can focus to much on being the best and become arrogant.
Comparison can be good to hold us up to a better standard. When we have friends we respect and see things in them we like we can change some, to be better as long as it's something worth changing. It can be bad if you are comparing yourself to other for the wrong reason.
Confidence it's good to be self assured but we shouldn't seem so self assured that we alienate ourselves by our words and actions.
We often do all three of these things in some variation or another. It is important to be aware of your words and actions though, so you don't come across in a way that is off putting. Paul is a good example to follow. He knew who he was in Christ. He didn't feel the need to compete even when so many people around him didn't agree with what he was saying or doing and were willing to judge him. He never compared himself to others because he knew that what he was doing was for God's purpose and that's all that mattered to him. He had the confidence to go against the grain and stand frim with his focus on God to do exactly what he was to do.
Having a confidence like that means having a focus like that. Galatians 6:14 says, As for me, may I never boast about anything except the cross of our Lord Jesus Christ. Because of that cross, my interest in this world has been crucified, and the world's interest in me has also died.
When to posture our hearts toward God and what He has for us to accomplish, the things of this world don't seem as important.
When we confidently walk with the Lord, He is the one who gives us strength to do anything without the need to compete or compare with others. Confidence in the Lord is what we need. It's life changing. Ask God to help you draw closer to Him. Posture your hearts toward God and be confident in His guidance. It will change your life.