What’s the difference between confidence and cockiness?

Anonymous
Like whey you see women post pictures of themselves on social media using captions like
“Heavy on the pretty. With no filter.”
or “Prettier than your average girl.”
or “I look better than any girl who doesn’t like me.“

wouid you consider that confidence or cockiness?
What’s the difference between confidence and cockiness?
59 Opinion