those children are the ones that triggered their father to pay their mothers dowry. If not for them the man is not even ready to pay anything yet.
The parents’ unreadiness is not at all the child’s fault. If they were not ready then they should not have engaged in such activities. I believe that God sees as all equal and loves us regardless of our titles or names. But in the society, a child born out of wedlock would be treated differently based on the context.
Was the child born because his or her parents were not yet married or because one of the parents were already married to someone else? If it is the latter then it is indeed a different story altogether. Of course it is considered taboo in our society and it is even illegal but the child should not pay for his or her parents’ sins.
I think that being born out or inside of wedlock does not determine one’s future. A child born out of wedlock might face some challenges but so does the child born inside of wedlock. It all depends on what kind of parents the child has and how the child was raised.