People who have children think having children is the right choice, generally. They have to, to find meaning in all of the work of having and raising a child. That's understandable. But it is by no means the right choice for everyone.
I had a lousy childhood -- not just because of my genetics. There's no license, no mandatory training for having a child. You can just have one. Many parents are not qualified, by any measure. This keeps therapists well-employed.
Only have a child if you would like to be that child. Only have a child if you feel competent, and able, and certain that when they are an adult they will not resent you -- yes, it's natural to have some resentment for your parents, but this is not the sort of resentment I am talking about.
Do not UNDER ANY CIRCUMSTANCES have a child if you're just looking for 'legacy'. Write a book. Give to charity. But this is a terrible reason to have a child! Don't.