If you have a child out of wedlock will God still fulfill his purpose in you and that child?

If you have a child out of wedlock will God still fulfill his purpose in you and that child?
Post Opinion