Would it be cruel for me to do that?

I'm going to marry a man and get pregnant. But my husband won't know that I'm pregnant with him, and after my divorce from him, I will grow up the kid alone. so that the man will not be able to claim rights from the childWhat do you think about this
Would it be cruel for me to do that?
Post Opinion