Is it wrong to expect my husband to be nice to my family when I wasn't to his?

So I been with him for a long time and did go through some rocky situations with my inlaws. I have badmouthed them to him and personally insulted indirectly. I noticed he's also been starting to be the same with mine , like every time seeing them starting arguments. It hurts me to see him to do this to people I love in my blood, but when I think about it maybe I'm in the wrong? Because he also has a family

Updates
5 mo
I also started drama like never really went to visit when invited
Updates
5 mo
Or is he just being immature
Is it wrong to expect my husband to be nice to my family when I wasn't to his?
Post Opinion