Confused

Say you were talking ( dating but not exclusively but it was still deep ) to someone and you saw future with them but they end up getting someone pregnant. Someone they didn’t want to be just had sex with . Would you take them back ??? After they have begged and pleaded saying they want marriage with you , to build a family with you and wants you to move in ???