Confidence and humility aren't opposites, they're different axes: confidence is about your capability, humility is about your importance relative to others. You can have both.
Keep confidence listening, or it becomes arrogance. Keep humility hoping, or it becomes self-hatred.
Be confident in what you can do, humble about what you're worth, and keep both open.