Self-esteem relates to how you see and value yourself. Confidence usually relates to how capable you feel in a particular situation or task. You can have confidence in some areas while having low self-esteem more generally.