I'll let you in on a secret.
You don't have to defend your mentor if they are exposed participating in, or condoning despicable behavior.
Not even if you credit them for your success. Not even if you consider them a friend.
The right thing to do is condemn them.