The child!
Most men believe that they have the freedom to lay with a woman and to walk away. They give little thought for her or for the child that she may carry as the result of his action.
I doubt that God gives men or women the freedom to abandon His family for any other person.
Family is our most important responsibility.