Would you stay friends with someone who cheated on her husband and got pregnant - doesn’t regret it?

My friend married her husband too early I think and has never really loved him.

He’s cheated on her a couple of times and that has made her step away from him more.

She started having sex with a married man and had intentions of leaving her husband.

She’s now pregnant from that man and is keeping the baby. She doesn’t know if it is the other man’s or her husband’s and she doesn’t care. She wants to leave him anyway.

That said, my husband can’t understand why I would still be friends with her. He says she has no integrity and doesn’t feel

comfortable with her anymore.

She’s someone who’s made really bad choices but she’s not a bad person. I don’t feel it’s right to separate myself from her as a friend because of her mistakes that don’t affect me at all.

I do think she should tell her husband of her infidelity and deal with the fallout and have advised her of such. Whatever she chooses is not my business but I would like to be there as support, even if I don’t understand why she did any of this.