I'm seeing a few different things here.
The first is respect - or lack there of. Your wife doesn't respect you and is treating you appallingly. The way she speaks to you should be unacceptable in any relationship. Not to mention that she sounds like a ball breaker. That being said, she also sounds quite unhappy in the marriage. She's going about fixing it the wrong way - but I do wonder if you struggle with issues of motivation.
You say that you've done marriage therapy but she's always right and you're always wrong. Did you raise this with the therapist? If so, what did the therapist say? However, if you haven't raised this, it's time to go back to therapy.
Now, this business about you having friends. Do you have friends? If so, then why is she telling you that you have to change? However, if you struggle to have friends, then there probably is cause for you to look at the reasons why.
Thing is, there is no 'should' when it comes to people liking us for who we are. There ARE people around who I choose not to spend time with because of their personality. And I'm sure there are those who don't seek out my company for the same reasons. Those who have loads of friends probably have the social thing down pat.....but those who struggle finding friends (but wish they had friends) actually DO need to look at the reasons people avoid them. This isn't about trying to be something else - it's more about self improvement.
Never regret anything that has happened in your life. It cannot be changed, forgotten or undone. So, take it as a lesson learned and move on.