What does god think about a child born out of wedlock?
Answer
Then Peter opened his mouth, and said, Of a truth I perceive that God is no respecter of persons: But in every nation he that feareth him, and worketh righteousness, is accepted with him. (Acts 10:34-35)
God loves all people, regardless of their origin. That is true regardless of national origin. It is true regardless of biological origin. There is nothing to indicate that God thinks any differently about a child whose parents were not married than he does about a child whose parents were. He may disapprove of what the parents did, but that doesn’t affect his feelings for the child.
Another aspect of the question can be answered by Ezekiel. “The soul that sinneth, it shall die. The son shall not bear the iniquity of the father, neither shall the father bear the iniquity of the son.” (Ezekiel 18:20) We usually use this passage to disprove the doctrine of “original sin,” but it also applies to your question. The child is not guilty of the sin of the parents. Just because his parents conceived him through sin does not mean that God considers the child a sinner. Nor should we. The child had no control over his parents actions before he was even conceived.