Am I wrong for distancing myself from my MIL?

So me and my boyfriend moved in with his mom and
her boyfriend after 2 months my boyfriend and I broke
up and I moved back in with my parents and he moved
back in with his grandparents. About a month after we
spilt so did MIL and her boyfriend, after they broke up
he went on social media posting videos about me and
my ex saying he would hear me moan during sex,
saying he seen me and my boyfriend making out in the
kitchen, saying I would have sex with my boyfriend
when he was near by and he would have to sit and
listen. Which none of that is true BTW. Anyways after
that me and my boyfriend got back together about 4
months later MIL and boyfriend still being broken up at
the time I thought we would be fine moving back in with
her and I would be far away from that creep anyway a
few months later she desides we should all move into
his grandparents place which me and my husband
don’t really want to but his mom is all depressed so we
do…. literally 2 weeks later she gets the ex boyfriend
back who said sexual things about me on social media
and who said all types of negative things about the
whole family so she gets back together and we make a
agreement that as long as me or my husband don’t
have to see him it’s okay. But she’s always bitching that
she wants us to see him or that she feels like we’re
pushing her away and feeling like we ignore her :/ but I
distance myself from her because I do not want him to
know my business. They have broken up and gotten
back together about 7+ times since then and everytime
he goes on social media talking about me

Am I wrong for distancing myself from my MIL?