The idea that we must perfect ourselves before we enter a relationship with others is common in internet advice and frankly wrong. One of the main ways we heal and grow as people is through relationships. Relationships test us and can be a vital mirror, showing us things that would be otherwise invisible. They are also an incentive to do better for the good of others in our lives. Finally, they give us the chance to heal others similarly, our partners are never perfect either.
Does that mean that having kids will solve your problems? Of course not. The idea that you should be ok with or without kids is also fraught. It’s a question of degree, perhaps being obsessed with having kids is bad, but wanting them and being disappointed in not having them is fine.