How long have you been in tech if you don’t mind my asking? I’ve found that (surprise) confidence is a function of experience. The kids that started early (age 8 to 13) always seemed to have a leg up on the rest of us, but it’s because they’ve got a solid 5-10 years “experience” (YMMV in terms of quality of course).
If you’re still junior in your career, just pay attention. If you’re getting senior level but you’re not getting enough work, start doing more personal projects that require you to “own” the whole thing from end to end.