After 10 years working in Machine Learning across Apple, TikTok, Uber, Meta this is the one key trait I've seen in people that have succeeded.
They're confident, even when they're wrong. They won't work as hard but they'll get promoted and enjoy their lives way more than you will, because they report mediocre work with confidence whilst you report your hard with hesitation.
There's nothing anyone can do about them, they are the most likely to get promoted to CXO, it's a consequence of how social dynamics and evolved in our human society.
The only way to protect your career is to work LOUDLY. Own your accomplishments proudly before others do it for you.
If your colleagues try to take credit for your work, you already made a blog post about each step you did.
"We shipped this 50/50 m8", nah, not according to the updates I provided in a bi-weekly update to everyone involved on the project, even if nobody reads it, you have a paper trail.
Email stakeholders directly giving updates on what YOU are doing asking for input. That's what the people who progressed beyond you did, it's the perfect way to seem like you're being productive, even though they went on to do nothing with the input.
Our lack of confidence comes from being humbled by all the things we don't know, it drives us to want to learn more. But don't let it stagnate your career.
All credit to: Leon Chlon, PhD