I've never met anyone who was sorry they had children, but I've met a lot of people who missed the opportunity (to be fair, I've never met the parents of a violent criminal).
Kids can be hard, especially if you're not a natural, and especially when they're young, but-- it's impossible to describe the fulsome love I have for my kids. I'm not a sentimental person, and probably wouldn't have had them without my wife (which is a funny thing to say). Even when they're a pain and a disappointment, even with the ever present guilt, my kids give me some baseline purpose for free. And the wins are great--"all joy and no fun" as I heard once. The conversations as they become real people. It's impossible to describe and totally worth it.
I don't really expect anyone to casually admit that they regret having children to anyone but their closest confidants, perhaps not even themselves, the social stigma and shame would be unbearable.
I don't know how much research there is on this but anecdotally there are many emotionally absent and neglectful parents out there. They might be able to cope with the way their life is but that doesn't mean that they're good parents (or that they wouldn't do things differently if they got to start over again).
There's also a chance that your child is born with disabilities that demand intensive life-long support. I know that I couldn't cope with that, so even if my general outlook on having children changed some day I could never get past this, for my own good and out of responsibility for my hypothetical child.
Of course there are bad parents. I'm unlikely to encounter them, and even if I did I would probably not associate with them. But I suspect that you and anyone else on this thread offering thoughtful responses, are not the kind of person who would fall into that category.
I only offer my own experience, because I had the same fears as you. One datapoint, but parenting changed me in so many good ways, and the hardships fade from memory.
Kids can be hard, especially if you're not a natural, and especially when they're young, but-- it's impossible to describe the fulsome love I have for my kids. I'm not a sentimental person, and probably wouldn't have had them without my wife (which is a funny thing to say). Even when they're a pain and a disappointment, even with the ever present guilt, my kids give me some baseline purpose for free. And the wins are great--"all joy and no fun" as I heard once. The conversations as they become real people. It's impossible to describe and totally worth it.