Confidence is the consequence of being happy about your self. You don't be confident and then feel good about yourself, you accept yourself for who you are, where you are, and with self-compassion you take steps to address your insecurities. The confidence builds from there.