I still don’t believe it’s dangerous to hang out with friends. If you two have good relationship and are a good match, friendships cannot ruin that. If not that friendship, your wife would find someone else somewhere else. Something else is going on. Would you consider marriage counseling for both of you to figure out what’s missing?