Why do Buddhists have children? In Buddhism they teach that life is suffering, that it's all about pain (which is true) and that you should try your best to achieve Nirvana and become someone who won't have any more rebirths. This is something that I've learnt since I was young. So I was wondering, if parents love their child, why do they decide to have a child? I mean Buddhist parents. Now think about it. If parents know life is about suffering and pain and it's not the best thing why would they want it for their child? I mean seriously, if they really love their child and they are pure Buddhists, according to Buddhism they should not feel the need to have a child because that will cause the child to experience all the pains, etc. So as a mother or father, who wants their child to be in pain? I just don't understand, correct me if I'm wrong.

I'm a Theravada Buddhist.
I think you mix up pain with suffering.
Pain is something that happens. Suffering you do to yourself, a second arrow

And from what I understand Buddhists view being born human to be lucky, as you get the chance to have influence on your own fate. You can get the chance to hear about and perhaps understand the Four Noble Truths and start following the Eightfold Path that leads to an end of suffering (but not pain(1)). And perhaps even an escape to the cycle of rebirth.

So Buddhists don't really have a reason to not have children.

(1)Be happy, you have done the first steps.