Feeling betrayed by my friend

I am going through a contentious divorce. My husband cheated, left, now fighting over money, kids, tons of legal fees and adversarial interactions.
Most of my friends stayed with me, but about the husbands of about three-four of my friends became friends with my husband (through the wives) and now they are spending time with him.
I felt betrayed by my husband.
Now I feel betrayed by these friends.
I don’t want to be friends with them, or even wonder if we are friends/were friends.
If any of their husbands were doing what my husband has done and is doing I would not support that by being friends with him.
I feel hurt.
I have the idea I should talk with them, at least a couple of them.
Though I also feel nervous about that.
Any help appreciated.
Thank you!