I dunno, this seems to be interpreting the comment in the worst way possible. Like, assuming bad faith.
The comment above suggested that guys approach less-attractive women until they "build some confidence". This is not about the woman's receptivity to attention, this is about the guy's confidence or lack thereof. It makes sense: when confidence is worse, the conversation is more awkward and stilted, and that awkwardness is more likely to reinforce the idea that talking to strangers is a waste of time.
The charitable interpretation would be this: that you practice talking to strangers in scenarios that feel safe. Gradually, work up towards your goal - making new friends, talking to people you want to date, etc.