Based on my own experience as a mid-40s virgin, the answer is complicated. When I was growing up, I was always behind everyone else socially. I did not understand many of the facets of dating that is normal to others in high school, so I did not date. I was looked down upon and bullied by my peers, so I really did not want to spend time with others. Being forced by my parents to go to school dances were the worst, pure hell for me. The few acts of kindness shown me by the girls in my classes were only done to get me to do something for them (their homework for example). However, they looked down upon me and played their games behind my back. Trust me, I overheard things that they never thought I would find out about. After a few of those events, I saw through the game that was being played and started to avoid situations like that.
Moving on to college, I was working hard at my studies and that definitely did not fit into me being a member of the partying crowd. Alcohol and drugs were not conducive to my success, so I had no need for them. I concentrated on earning my degrees and then my career. I have had a few ladies interested in me over the years, but I am a lost cause due to my own shortcomings, not theirs. Dating was/is something impossible for me, as I just do not have the social skills to make it work. After a certain point in time, I reached a point that I realized that it was not meant to be. Maybe I could have learned them when I was younger, but it was not in the cards. My situation is likely not the answer you are seeking to the question you asked, it is the one that I have experienced.