Is it right that a child should be created simply to keep another person alive?

Is it right that a child should be created simply to keep another person alive?