No, It not ok to defend a friend when they are wrong and if you do what does that say about you and your character. This shouldn’t even be a question to answer because it should be obvious that the right thing to do would be not to defend someone who is in the wrong period end of subject.
You’re welcome Anthony

Thank you so much I really appreciate
you’re answer.