That is the only place it is considered so. Spiritually, the man who enters into a relationship and begets a baby and runs away is going to be held responsible.
Galatians 6:7 says, “Do not be deceived: God cannot be mocked."
Ephesians 5:25-33
"Husbands, love your wives, even as Christ also loved the church, and gave himself for it; That he might sanctify and cleanse it with the washing of water by the word, that he might present it to himself a glorious church, not having spot, or wrinkle, or any such thing; but that it should be holy and without blemish.
So ought men to love their wives as their own bodies. He that loveth his wife loveth himself. For no man ever yet hated his own flesh; but nourisheth and cherisheth it, even as the Lord the church: For we are members of his body, of his flesh, and of his bones."
"A man reaps what he sows.” The man might think he is in the clear because of the law of the land but he is going to be held responsible for the baby, and for everything that changed in the life of the woman and her parents and siblings..., for the future of the child in all ways. If he sows deceit and cowardice in his relationship he will reap deceit and cowardice in his children. And if his children are killed in the womb when he ran away from his responsibility he will be accounted guilty.