20 years ago I read an article that stuck with me ever since ... it detailed at the time that on average, whether you can afford it or not, it costs about $200,000 to raise a child to the age of 18.
So selling the kid would cut the parents losses over the 18 year period