This has always been such an completely and totally offensive rhetoric imo. The notion that one has to be perfect before they are even allowed to have a relationship is absolutely ridiculous and untrue. Do you know what helps things like self esteem and self love? Having a support network which includes having a caring and considerate partner. Expecting people to magically heal themselves in isolation is absolutely ridiculous and unhelpful. Every human being is flawed in some way. It's ok to seek connection while having flaws. Literally everyone is flawed and most people don't wait until they are the perfect specimen of a human being to look for connections with someone. It is ridiculous to suggest that someone should.
Edit: I am not trying to say that a partner will magically fix anyone. And I agree it's good to be comfortable with yourself whether or not you have a partner. But I can't stand when people repeat ad nauseum the bullshit that is telling people that they have to fix themselves before they are allowed to make human connections. It's honestly damaging.