Should a woman be punished for hiding a man’s biological child from him?

I've just been inspired by the paternity fraud question, where the woman consciously made a man raise a child that's not his.

What about cases where the woman deliberately (she's not in danger and she even admits it was done in anger and resentment towards the man) withhelds information from a man about his child and raised the kid on her own, not wanting the man.

- She lies about her child being from a casual encounter while knowing who the father is but lies about, never tells him, decides to raise the kid on her own. I knew someone that never knew he had a child and was very furious when he find found out 8 years later. Th

- Man already tested his child, it's 99.99 his and she keeps throwing him out of the house or inventing stories about how he's a deadbeat father, trying to get her family against him. She's refusing his paternity rights.

If she was never in any real danger, has admitted to do it out of spite and bitterness towards the man (even going far as lying to her child that her father abandoned her when she was pregnant and never wanted her) and made the decision to raise the kid on her own, should that be punished as well too?

Should a woman be punished for hiding a man’s biological child from him?
Post Opinion