Am I wrong for this?

Long story short; my friend of 3 years is having a bad night because of family drama last night Thanksgiving. At the bar, he tried shooting his shot at my friend of over 10 years and she shut him down. He’s married but he constantly flirts with whoever he can and she denied him. She texts me couple hours later after we left bar talking about him. She knew his name without me even bringing it up and stuff about him. I’m stuck in middle, so I try to play it off for both sides to make them happy. My friend of 3 years isn’t happy cause I through him under the bus while talking to my female friend. Understandable. But he’s talking me that I f***ed up and that he’s married & this will get him in trouble if it reaches his wife. But he’ll constantly flirt with other women in public not caring that he’s married and sometimes will hide his ring if she cute enough. And he has a bad track record and many people know about him. Now I’m in the middle. I look like the bad guy for ratting my guy friend out to my friend but same time, she knew who he was without me even ever introducing them to each other and he acts like he never met her before until tonight. I feel guilty but same time I don’t. Now I gotta decide between my female friend who I’ve known her and her family for 10 plus years vs a former coworker that I’ve known for 3 years. It’s a lose lose situation for me regardless. Advice or opinions?

Am I wrong for this?
Post Opinion