Her friendship with the joker doesn't really matter...she could be good friends with other people yet still want to come home to you every night as your W. But she's never going to do that if her interactions with you are negative. Just think: would she have married you to begin with if you were always bitter and negative? It's just not appealing, I wouldn't want to be with someone like that.
I know it's rough, but that's what acting as if is all about...despite the pain you act like you're alright, you act like the person that she fell in love with and would want to be with. If interactions are always positive then she may or may not decide that yes, you make her feel positive, you're the type of guy she can be happy with. If they are always negative, she will certainly never feel that way...
Me: 43 W: 41 Together 2009, Married 2011 Sons 10 and 6, Daughter 5 Bomb 2/21/21. W moved out 10/2021