Does confidence and selfesteem come from how others treat you and the attention you get from the opposite sex?

Being unattractive and a target for insults and bullying I would say I have low or no self esteem nor confidence. I don’t even know how one gets those traits.

Im still a virgin and women find me repulsive looking

Does confidence and selfesteem come from how others treat you and the attention you get from the opposite sex?
Post Opinion